/external/chromium/chrome/browser/extensions/ |
extension_browser_actions_api.cc | 79 std::string badge_text; local 80 EXTENSION_FUNCTION_VALIDATE(details_->GetString("text", &badge_text)); 81 browser_action_->SetBadgeText(tab_id_, badge_text);
|
extension_sidebar_api.cc | 222 string16 badge_text; local 223 EXTENSION_FUNCTION_VALIDATE(details.GetString(kBadgeTextKey, &badge_text)); 225 tab, content_id, badge_text);
|
/external/chromium/chrome/common/ |
badge_util.cc | 66 std::string badge_text = UTF16ToUTF8(text); local 69 SkScalar text_width = paint->measureText(badge_text.c_str(), 70 badge_text.size()); 74 badge_text = UTF16ToUTF8(fallback); 75 text_width = paint->measureText(badge_text.c_str(), badge_text.size()); 95 canvas->drawText(badge_text.c_str(), badge_text.size(), x, y, *paint);
|
/external/chromium/chrome/browser/sidebar/ |
sidebar_container.h | 64 const string16& badge_text() const { return badge_text_; } function in class:SidebarContainer 87 void SetBadgeText(const string16& badge_text);
|
/external/chromium_org/chrome/common/ |
badge_util.cc | 106 std::string badge_text = UTF16ToUTF8(text); local 109 SkScalar text_width = paint->measureText(badge_text.c_str(), 110 badge_text.size()); 114 badge_text = UTF16ToUTF8(fallback); 115 text_width = paint->measureText(badge_text.c_str(), badge_text.size()); 136 badge_text.c_str(), badge_text.size(), x, y, *paint);
|
/external/chromium_org/chrome/browser/extensions/api/extension_action/ |
extension_action_api.cc | 42 const char kBadgeTextStorageKey[] = "badge_text"; 621 std::string badge_text; local 622 EXTENSION_FUNCTION_VALIDATE(details_->GetString("text", &badge_text)); 623 extension_action_->SetBadgeText(tab_id_, badge_text);
|