HomeSort by relevance Sort by last modified time
    Searched refs:kDefaultTabId (Results 1 - 13 of 13) sorted by null

  /external/chromium_org/chrome/browser/extensions/
extension_action_unittest.cc 21 action.SetTitle(ExtensionAction::kDefaultTabId, "foo");
27 action.SetTitle(ExtensionAction::kDefaultTabId, "baz");
37 action.SetAppearance(ExtensionAction::kDefaultTabId, ExtensionAction::ACTIVE);
41 action.SetAppearance(ExtensionAction::kDefaultTabId,
66 EXPECT_FALSE(script_badge.GetIconAnimation(ExtensionAction::kDefaultTabId));
67 script_badge.SetAppearance(ExtensionAction::kDefaultTabId,
69 EXPECT_FALSE(script_badge.GetIconAnimation(ExtensionAction::kDefaultTabId))
72 script_badge.SetAppearance(ExtensionAction::kDefaultTabId,
123 action.SetBadgeText(ExtensionAction::kDefaultTabId, "foo");
129 action.SetBadgeText(ExtensionAction::kDefaultTabId, "baz")
    [all...]
extension_action.cc 88 const int ExtensionAction::kDefaultTabId = -1;
168 SetAppearance(kDefaultTabId,
171 SetTitle(kDefaultTabId, manifest_data.default_title);
172 SetPopupUrl(kDefaultTabId, manifest_data.default_popup_url);
266 if (old_appearance == INVISIBLE && tab_id != kDefaultTabId &&
275 DCHECK_NE(tab_id, kDefaultTabId);
extension_action.h 44 static const int kDefaultTabId;
295 } else if (const T* default_value = FindOrNull(map, kDefaultTabId)) {
316 FindOrNull(&appearance_, kDefaultTabId))
329 // kDefaultTabId), or tab-specific state (stored with the tab_id as the key).
  /external/chromium/chrome/common/extensions/
extension_action_unittest.cc 40 action.SetTitle(ExtensionAction::kDefaultTabId, "foo");
46 action.SetTitle(ExtensionAction::kDefaultTabId, "baz");
55 action.SetIcon(ExtensionAction::kDefaultTabId, icon1);
65 action.SetIconIndex(ExtensionAction::kDefaultTabId, 1);
77 action.SetIsVisible(ExtensionAction::kDefaultTabId, true);
80 action.SetIsVisible(ExtensionAction::kDefaultTabId, false);
92 action.SetBadgeText(ExtensionAction::kDefaultTabId, "foo");
98 action.SetBadgeText(ExtensionAction::kDefaultTabId, "baz");
105 action.SetBadgeTextColor(ExtensionAction::kDefaultTabId, 0xFFFF0000u);
111 action.SetBadgeTextColor(ExtensionAction::kDefaultTabId, 0xFF0000FFu)
    [all...]
extension_action.h 31 static const int kDefaultTabId;
164 iter = map->find(kDefaultTabId);
174 // kDefaultTabId), or tab-specific state (stored with the tab_id as the key).
extension_action.cc 53 const int ExtensionAction::kDefaultTabId = -1;
extension_unittest.cc 651 action->GetPopupUrl(ExtensionAction::kDefaultTabId).spec().c_str());
672 action->GetPopupUrl(ExtensionAction::kDefaultTabId).spec().c_str());
680 EXPECT_FALSE(action->HasPopup(ExtensionAction::kDefaultTabId));
683 action->GetPopupUrl(ExtensionAction::kDefaultTabId).spec().c_str());
691 EXPECT_FALSE(action->HasPopup(ExtensionAction::kDefaultTabId));
694 action->GetPopupUrl(ExtensionAction::kDefaultTabId).spec().c_str());
    [all...]
extension.cc 912 result->SetIsVisible(ExtensionAction::kDefaultTabId, false);
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_browser_actions_api.h 20 tab_id_(ExtensionAction::kDefaultTabId),
31 // kDefaultTabId if none was specified.
browser_action_apitest.cc 63 ASSERT_EQ("Modified", action->GetTitle(ExtensionAction::kDefaultTabId));
64 ASSERT_EQ("badge", action->GetBadgeText(ExtensionAction::kDefaultTabId));
66 action->GetBadgeBackgroundColor(ExtensionAction::kDefaultTabId));
202 ASSERT_FALSE(browser_action->HasPopup(ExtensionAction::kDefaultTabId));
218 ASSERT_FALSE(browser_action->HasPopup(ExtensionAction::kDefaultTabId))
238 ASSERT_TRUE(browser_action->HasPopup(ExtensionAction::kDefaultTabId));
258 ASSERT_TRUE(browser_action->HasPopup(ExtensionAction::kDefaultTabId))
272 ASSERT_TRUE(browser_action->HasPopup(ExtensionAction::kDefaultTabId))
  /external/chromium_org/chrome/browser/extensions/api/extension_action/
browser_action_apitest.cc 113 ASSERT_EQ("Modified", action->GetTitle(ExtensionAction::kDefaultTabId));
114 ASSERT_EQ("badge", action->GetBadgeText(ExtensionAction::kDefaultTabId));
116 action->GetBadgeBackgroundColor(ExtensionAction::kDefaultTabId));
388 ASSERT_FALSE(browser_action->HasPopup(ExtensionAction::kDefaultTabId));
404 ASSERT_FALSE(browser_action->HasPopup(ExtensionAction::kDefaultTabId))
424 ASSERT_TRUE(browser_action->HasPopup(ExtensionAction::kDefaultTabId));
445 ASSERT_TRUE(browser_action->HasPopup(ExtensionAction::kDefaultTabId))
459 ASSERT_TRUE(browser_action->HasPopup(ExtensionAction::kDefaultTabId))
619 ASSERT_EQ("", action->GetBadgeText(ExtensionAction::kDefaultTabId));
635 ASSERT_EQ("X", action->GetBadgeText(ExtensionAction::kDefaultTabId));
    [all...]
extension_action_api.cc 128 const int kTabId = ExtensionAction::kDefaultTabId;
165 const int kTabId = ExtensionAction::kDefaultTabId;
495 tab_id_(ExtensionAction::kDefaultTabId),
528 if (tab_id_ != ExtensionAction::kDefaultTabId) {
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/system_indicator/
system_indicator_manager.cc 99 icon_factory_.GetIcon(ExtensionAction::kDefaultTabId).AsImageSkia());
114 icon_factory_.GetIcon(ExtensionAction::kDefaultTabId).AsImageSkia();
168 if (extension_action->GetIsVisible(ExtensionAction::kDefaultTabId)) {

Completed in 173 milliseconds