Searched refs:badge_text (Results 1 – 8 of 8) sorted by relevance
/external/chromium/chrome/common/ |
D | badge_util.cc | 66 std::string badge_text = UTF16ToUTF8(text); in DrawBadgeIconOverlay() local 69 SkScalar text_width = paint->measureText(badge_text.c_str(), in DrawBadgeIconOverlay() 70 badge_text.size()); in DrawBadgeIconOverlay() 74 badge_text = UTF16ToUTF8(fallback); in DrawBadgeIconOverlay() 75 text_width = paint->measureText(badge_text.c_str(), badge_text.size()); in DrawBadgeIconOverlay() 95 canvas->drawText(badge_text.c_str(), badge_text.size(), x, y, *paint); in DrawBadgeIconOverlay()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_browser_actions_api.cc | 79 std::string badge_text; in RunBrowserAction() local 80 EXTENSION_FUNCTION_VALIDATE(details_->GetString("text", &badge_text)); in RunBrowserAction() 81 browser_action_->SetBadgeText(tab_id_, badge_text); in RunBrowserAction()
|
D | extension_sidebar_api.cc | 222 string16 badge_text; in RunImpl() local 223 EXTENSION_FUNCTION_VALIDATE(details.GetString(kBadgeTextKey, &badge_text)); in RunImpl() 225 tab, content_id, badge_text); in RunImpl()
|
/external/chromium/chrome/browser/sidebar/ |
D | sidebar_container.h | 64 const string16& badge_text() const { return badge_text_; } in badge_text() function 87 void SetBadgeText(const string16& badge_text);
|
D | sidebar_container.cc | 104 void SidebarContainer::SetBadgeText(const string16& badge_text) { in SetBadgeText() argument 105 badge_text_ = badge_text; in SetBadgeText()
|
D | sidebar_manager.h | 84 const string16& badge_text);
|
D | sidebar_manager.cc | 192 const string16& badge_text) { in SetSidebarBadgeText() argument 196 host->SetBadgeText(badge_text); in SetSidebarBadgeText()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | location_bar_view_gtk.cc | 1635 std::string badge_text = page_action_->GetBadgeText(tab_id); in OnExposeEvent() local 1636 if (badge_text.empty()) in OnExposeEvent()
|