/external/chromium_org/chrome/browser/extensions/ |
D | extension_action.cc | 60 const int ExtensionAction::kDefaultTabId = -1; 61 const int ExtensionAction::kPageActionIconMaxSize = 19; 63 ExtensionAction::ExtensionAction(const std::string& extension_id, in ExtensionAction() function in ExtensionAction 80 ExtensionAction::~ExtensionAction() { in ~ExtensionAction() 83 scoped_ptr<ExtensionAction> ExtensionAction::CopyForTest() const { in CopyForTest() 84 scoped_ptr<ExtensionAction> copy( in CopyForTest() 85 new ExtensionAction(extension_id_, action_type_, in CopyForTest() 103 int ExtensionAction::GetIconSizeForType( in GetIconSizeForType() 118 void ExtensionAction::SetPopupUrl(int tab_id, const GURL& url) { in SetPopupUrl() 127 bool ExtensionAction::HasPopup(int tab_id) const { in HasPopup() [all …]
|
D | extension_action_unittest.cc | 18 ExtensionAction action(std::string(), ActionInfo::TYPE_PAGE, action_info); in TEST() 21 action.SetTitle(ExtensionAction::kDefaultTabId, "foo"); in TEST() 27 action.SetTitle(ExtensionAction::kDefaultTabId, "baz"); in TEST() 34 ExtensionAction action(std::string(), ActionInfo::TYPE_PAGE, ActionInfo()); in TEST() 37 action.SetIsVisible(ExtensionAction::kDefaultTabId, true); in TEST() 41 action.SetIsVisible(ExtensionAction::kDefaultTabId, false); in TEST() 52 ExtensionAction browser_action( in TEST() 60 ExtensionAction page_action( in TEST() 72 ExtensionAction action(std::string(), ActionInfo::TYPE_PAGE, ActionInfo()); in TEST() 74 action.SetBadgeText(ExtensionAction::kDefaultTabId, "foo"); in TEST() [all …]
|
D | extension_action_manager.cc | 88 ExtensionAction* GetOrCreateOrNull( in GetOrCreateOrNull() 89 std::map<std::string, linked_ptr<ExtensionAction> >* map, in GetOrCreateOrNull() 94 std::map<std::string, linked_ptr<ExtensionAction> >::const_iterator it = in GetOrCreateOrNull() 109 linked_ptr<ExtensionAction> action(new ExtensionAction( in GetOrCreateOrNull() 117 ExtensionAction* ExtensionActionManager::GetPageAction( in GetPageAction() 125 ExtensionAction* ExtensionActionManager::GetBrowserAction( in GetBrowserAction() 133 ExtensionAction* ExtensionActionManager::GetSystemIndicator( in GetSystemIndicator()
|
D | extension_action_manager.h | 15 class ExtensionAction; variable 38 ExtensionAction* GetPageAction(const extensions::Extension& extension) const; 39 ExtensionAction* GetBrowserAction( 41 ExtensionAction* GetSystemIndicator( 61 typedef std::map<std::string, linked_ptr<ExtensionAction> > ExtIdToActionMap;
|
D | location_bar_controller.h | 20 class ExtensionAction; variable 45 virtual ExtensionAction* GetActionForExtension( 68 std::vector<ExtensionAction*> GetCurrentActions(); 72 Action OnClicked(const ExtensionAction* action);
|
D | extension_action.h | 39 class ExtensionAction { 48 ExtensionAction(const std::string& extension_id, 51 ~ExtensionAction(); 55 scoped_ptr<ExtensionAction> CopyForTest() const; 269 DISALLOW_COPY_AND_ASSIGN(ExtensionAction); 273 struct ExtensionAction::ValueTraits<int> {
|
D | location_bar_controller.cc | 33 std::vector<ExtensionAction*> LocationBarController::GetCurrentActions() { in GetCurrentActions() 37 std::vector<ExtensionAction*> current_actions; in GetCurrentActions() 44 ExtensionAction* action = in GetCurrentActions() 56 const ExtensionAction* action) { in OnClicked()
|
D | extension_action_icon_factory.h | 11 class ExtensionAction; variable 36 const ExtensionAction* action, 60 const ExtensionAction* action_;
|
D | extension_context_menu_model.h | 15 class ExtensionAction; variable 43 virtual void InspectPopup(ExtensionAction* action) = 0; 89 ExtensionAction* extension_action_;
|
D | page_action_controller.cc | 35 ExtensionAction* PageActionController::GetActionForExtension( in GetActionForExtension() 42 ExtensionAction* page_action = in OnClicked() 72 ExtensionAction* action = GetActionForExtension(*iter); in OnNavigated()
|
D | active_script_controller.h | 27 class ExtensionAction; variable 68 virtual ExtensionAction* GetActionForExtension( 123 typedef std::map<std::string, linked_ptr<ExtensionAction> > ActiveScriptMap;
|
D | active_script_controller.cc | 130 ExtensionAction* ActiveScriptController::GetActionForExtension( in GetActionForExtension() 140 linked_ptr<ExtensionAction> action(new ExtensionAction( in GetActionForExtension() 142 action->SetTitle(ExtensionAction::kDefaultTabId, extension->name()); in GetActionForExtension() 143 action->SetIsVisible(ExtensionAction::kDefaultTabId, true); in GetActionForExtension()
|
/external/chromium_org/chrome/browser/extensions/api/system_indicator/ |
D | system_indicator_manager.cc | 37 const ExtensionAction* action, 50 const ExtensionAction* action, 63 const ExtensionAction* action, in Create() 99 icon_factory_.GetIcon(ExtensionAction::kDefaultTabId).AsImageSkia()); in OnIconUpdated() 103 const ExtensionAction* action, in ExtensionIndicatorIcon() 114 icon_factory_.GetIcon(ExtensionAction::kDefaultTabId).AsImageSkia(); in ExtensionIndicatorIcon() 156 OnSystemIndicatorChanged(content::Details<ExtensionAction>(details).ptr()); in Observe() 160 const ExtensionAction* extension_action) { in OnSystemIndicatorChanged() 166 if (extension_action->GetIsVisible(ExtensionAction::kDefaultTabId)) { in OnSystemIndicatorChanged() 190 const ExtensionAction* extension_action) { in CreateOrUpdateIndicator()
|
D | system_indicator_manager.h | 20 class ExtensionAction; variable 59 void OnSystemIndicatorChanged(const ExtensionAction* extension_action); 69 const ExtensionAction* extension_action);
|
/external/chromium_org/chrome/browser/extensions/api/extension_action/ |
D | browser_action_apitest.cc | 87 ExtensionAction* GetBrowserAction(const Extension& extension) { in GetBrowserAction() 109 ExtensionAction* action = GetBrowserAction(*extension); in IN_PROC_BROWSER_TEST_F() 110 ASSERT_EQ("Modified", action->GetTitle(ExtensionAction::kDefaultTabId)); in IN_PROC_BROWSER_TEST_F() 111 ASSERT_EQ("badge", action->GetBadgeText(ExtensionAction::kDefaultTabId)); in IN_PROC_BROWSER_TEST_F() 113 action->GetBadgeBackgroundColor(ExtensionAction::kDefaultTabId)); in IN_PROC_BROWSER_TEST_F() 380 ExtensionAction* browser_action = GetBrowserAction(*extension); in IN_PROC_BROWSER_TEST_F() 385 ASSERT_FALSE(browser_action->HasPopup(ExtensionAction::kDefaultTabId)); in IN_PROC_BROWSER_TEST_F() 401 ASSERT_FALSE(browser_action->HasPopup(ExtensionAction::kDefaultTabId)) in IN_PROC_BROWSER_TEST_F() 421 ASSERT_TRUE(browser_action->HasPopup(ExtensionAction::kDefaultTabId)); in IN_PROC_BROWSER_TEST_F() 436 ExtensionAction* browser_action = GetBrowserAction(*extension); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | page_action_apitest.cc | 32 ExtensionAction* GetPageAction(const Extension& extension) { in GetPageAction() 54 ExtensionAction* action = GetPageAction(*extension); in IN_PROC_BROWSER_TEST_F() 96 ExtensionAction* page_action = GetPageAction(*extension); in IN_PROC_BROWSER_TEST_F() 142 ExtensionAction* page_action = GetPageAction(*extension); in IN_PROC_BROWSER_TEST_F() 183 ExtensionAction* page_action = GetPageAction(*extension); in IN_PROC_BROWSER_TEST_F() 246 ExtensionAction* page_action = GetPageAction(*extension); in IN_PROC_BROWSER_TEST_F()
|
D | extension_action_api.cc | 142 ExtensionAction* action) { in SetDefaultsFromValue() 143 const int kDefaultTabId = ExtensionAction::kDefaultTabId; in SetDefaultsFromValue() 201 scoped_ptr<base::DictionaryValue> DefaultsToValue(ExtensionAction* action) { in DefaultsToValue() 202 const int kDefaultTabId = ExtensionAction::kDefaultTabId; in DefaultsToValue() 319 const ExtensionAction& browser_action, in BrowserActionExecuted() 326 const ExtensionAction& page_action, in PageActionExecuted() 390 const ExtensionAction& extension_action, in ExtensionActionExecuted() 457 ExtensionAction* extension_action = in Observe() 458 content::Source<ExtensionAction>(source).ptr(); in Observe() 467 ExtensionAction* extension_action) { in WriteToStorage() [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | location_bar_view_mac.h | 81 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; 82 virtual ExtensionAction* GetVisiblePageAction(size_t index) OVERRIDE; 137 void SetPreviewEnabledPageAction(ExtensionAction* page_action, 141 NSRect GetPageActionFrame(ExtensionAction* page_action); 147 NSPoint GetPageActionBubblePoint(ExtensionAction* page_action); 190 PageActionDecoration* GetPageActionDecoration(ExtensionAction* page_action); 246 std::vector<ExtensionAction*> page_actions_;
|
D | page_action_decoration.h | 32 ExtensionAction* page_action); 35 ExtensionAction* page_action() { return page_action_; } in page_action() 84 ExtensionAction* page_action_;
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | extension_action_context_menu_controller.h | 14 class ExtensionAction; variable 29 ExtensionAction* action_; 43 extensionAction:(ExtensionAction*)action;
|
D | browser_action_button.h | 15 class ExtensionAction; variable 86 ExtensionAction* extensionAction_; 90 @property(readwrite, nonatomic) ExtensionAction* extensionAction;
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
D | page_action_image_view.h | 39 ExtensionAction* page_action, 43 ExtensionAction* page_action() { return page_action_; } in page_action() 58 virtual void InspectPopup(ExtensionAction* action) OVERRIDE; 100 ExtensionAction* page_action_;
|
D | location_bar_view.h | 38 class ExtensionAction; variable 117 ExtensionAction* action) = 0; 179 void SetPreviewEnabledPageAction(ExtensionAction* page_action, 183 PageActionWithBadgeView* GetPageActionView(ExtensionAction* page_action); 286 typedef std::vector<ExtensionAction*> PageActions; 374 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; 375 virtual ExtensionAction* GetVisiblePageAction(size_t index) OVERRIDE;
|
D | page_action_with_badge_view.cc | 25 return gfx::Size(ExtensionAction::kPageActionIconMaxSize, in GetPreferredSize() 26 ExtensionAction::kPageActionIconMaxSize); in GetPreferredSize()
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
D | location_bar.h | 21 class ExtensionAction; variable 109 virtual ExtensionAction* GetPageAction(size_t index) = 0; 112 virtual ExtensionAction* GetVisiblePageAction(size_t index) = 0;
|