Home
last modified time | relevance | path

Searched refs:badge_text (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/common/
Dbadge_util.cc66 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/
Dextension_browser_actions_api.cc79 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()
Dextension_sidebar_api.cc222 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/
Dsidebar_container.h64 const string16& badge_text() const { return badge_text_; } in badge_text() function
87 void SetBadgeText(const string16& badge_text);
Dsidebar_container.cc104 void SidebarContainer::SetBadgeText(const string16& badge_text) { in SetBadgeText() argument
105 badge_text_ = badge_text; in SetBadgeText()
Dsidebar_manager.h84 const string16& badge_text);
Dsidebar_manager.cc192 const string16& badge_text) { in SetSidebarBadgeText() argument
196 host->SetBadgeText(badge_text); in SetSidebarBadgeText()
/external/chromium/chrome/browser/ui/gtk/
Dlocation_bar_view_gtk.cc1635 std::string badge_text = page_action_->GetBadgeText(tab_id); in OnExposeEvent() local
1636 if (badge_text.empty()) in OnExposeEvent()