/external/chromium/chrome/browser/extensions/ |
D | page_action_apitest.cc | 34 ExtensionAction* action = extension->page_action(); in IN_PROC_BROWSER_TEST_F() 71 ExtensionAction* page_action = extension->page_action(); in IN_PROC_BROWSER_TEST_F() local 72 ASSERT_TRUE(page_action) in IN_PROC_BROWSER_TEST_F() 75 ASSERT_FALSE(page_action->HasPopup(tab_id)); in IN_PROC_BROWSER_TEST_F() 87 ASSERT_TRUE(page_action->HasPopup(tab_id)) in IN_PROC_BROWSER_TEST_F() 91 page_action->GetPopupUrl(tab_id).path().c_str()); in IN_PROC_BROWSER_TEST_F() 103 ASSERT_TRUE(page_action->HasPopup(tab_id)); in IN_PROC_BROWSER_TEST_F() 105 page_action->GetPopupUrl(tab_id).path().c_str()); in IN_PROC_BROWSER_TEST_F() 117 ExtensionAction* page_action = extension->page_action(); in IN_PROC_BROWSER_TEST_F() local 118 ASSERT_TRUE(page_action) in IN_PROC_BROWSER_TEST_F() [all …]
|
D | extension_page_actions_module.cc | 60 ExtensionAction* page_action = GetExtension()->page_action(); in SetPageActionEnabled() local 61 if (!page_action) { in SetPageActionEnabled() 67 static_cast<size_t>(icon_id) >= page_action->icon_paths()->size()) { in SetPageActionEnabled() 90 page_action->SetIsVisible(tab_id, enable); in SetPageActionEnabled() 91 page_action->SetTitle(tab_id, title); in SetPageActionEnabled() 92 page_action->SetIconIndex(tab_id, icon_id); in SetPageActionEnabled() 99 page_action_ = GetExtension()->page_action(); in InitCommon()
|
D | extension_tab_helper.cc | 99 ExtensionAction* page_action = in DidNavigateMainFramePostCommit() local 100 service->extensions()->at(i)->page_action(); in DidNavigateMainFramePostCommit() 101 if (page_action) { in DidNavigateMainFramePostCommit() 102 page_action->ClearAllValuesForTab( in DidNavigateMainFramePostCommit()
|
D | extension_context_menu_model.cc | 41 extension_action_ = extension->page_action(); in ExtensionContextMenuModel()
|
D | extension_process_manager.cc | 241 if (extension->page_action()) in RegisterExtensionProcess() 242 page_action_ids.push_back(extension->page_action()->id()); in RegisterExtensionProcess()
|
D | extension_browsertests_misc.cc | 321 extension->page_action()->GetTitle(tab_id).c_str()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
D | page_action_image_view.cc | 22 ExtensionAction* page_action) in PageActionImageView() argument 25 page_action_(page_action), in PageActionImageView() 31 GetExtensionById(page_action->extension_id(), false); in PageActionImageView() 36 std::vector<std::string> icon_paths(*page_action->icon_paths()); in PageActionImageView() 150 GetExtensionById(page_action()->extension_id(), false); in ShowContextMenu()
|
D | location_bar_view.cc | 339 void LocationBarView::SetPreviewEnabledPageAction(ExtensionAction* page_action, in SetPreviewEnabledPageAction() argument 344 DCHECK(page_action); in SetPreviewEnabledPageAction() 349 static_cast<PageActionWithBadgeView*>(GetPageActionView(page_action)); in SetPreviewEnabledPageAction() 362 ExtensionAction *page_action) { in GetPageActionView() argument 363 DCHECK(page_action); in GetPageActionView() 366 if ((*i)->image_view()->page_action() == page_action) in GetPageActionView() 906 old_visibility[(*i)->image_view()->page_action()] = (*i)->IsVisible(); in RefreshPageActionViews() 912 if (service->extensions()->at(i)->page_action()) in RefreshPageActionViews() 913 page_actions.push_back(service->extensions()->at(i)->page_action()); in RefreshPageActionViews() 943 ExtensionAction* action = (*i)->image_view()->page_action(); in RefreshPageActionViews() [all …]
|
D | page_action_image_view.h | 32 ExtensionAction* page_action); 35 ExtensionAction* page_action() { return page_action_; } in page_action() function
|
D | location_bar_view.h | 141 void SetPreviewEnabledPageAction(ExtensionAction *page_action, 145 views::View* GetPageActionView(ExtensionAction* page_action);
|
/external/chromium/chrome/browser/ui/gtk/extensions/ |
D | extension_installed_bubble_gtk.cc | 80 } else if (extension->page_action() && in ExtensionInstalledBubbleGtk() 81 !extension->page_action()->default_icon_path().empty()) { in ExtensionInstalledBubbleGtk() 154 location_bar_view->SetPreviewEnabledPageAction(extension_->page_action(), in ShowInternal() 157 extension_->page_action()); in ShowInternal() 309 location_bar_view->SetPreviewEnabledPageAction(extension_->page_action(), in InfoBubbleClosing()
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | location_bar_view_mac.mm | 333 ExtensionAction* page_action) { 334 DCHECK(page_action); 336 if (page_action_decorations_[i]->page_action() == page_action) 339 // If |page_action| is the browser action of an extension, no element in 346 ExtensionAction* page_action, bool preview_enabled) { 347 DCHECK(page_action); 354 PageActionDecoration* decoration = GetPageActionDecoration(page_action); 365 ExtensionAction* page_action) { 366 PageActionDecoration* decoration = GetPageActionDecoration(page_action); 395 return page_action_decorations_[index]->page_action(); [all …]
|
D | location_bar_view_mac.h | 114 void SetPreviewEnabledPageAction(ExtensionAction* page_action, 121 NSPoint GetPageActionBubblePoint(ExtensionAction* page_action); 159 PageActionDecoration* GetPageActionDecoration(ExtensionAction* page_action);
|
D | page_action_decoration.h | 28 ExtensionAction* page_action); 31 ExtensionAction* page_action() { return page_action_; } in page_action() function
|
D | page_action_decoration.mm | 35 ExtensionAction* page_action) 38 page_action_(page_action), 44 GetExtensionById(page_action->extension_id(), false); 49 std::vector<std::string> icon_paths(*page_action->icon_paths());
|
/external/chromium/chrome/browser/ui/gtk/ |
D | location_bar_view_gtk.cc | 416 ExtensionAction *page_action, in SetPreviewEnabledPageAction() argument 418 DCHECK(page_action); in SetPreviewEnabledPageAction() 423 if ((*iter)->page_action() == page_action) { in SetPreviewEnabledPageAction() 432 ExtensionAction *page_action) { in GetPageActionWidget() argument 433 DCHECK(page_action); in GetPageActionWidget() 438 if ((*iter)->page_action() == page_action) in GetPageActionWidget() 643 if (service->extensions()->at(i)->page_action()) in UpdatePageActions() 644 page_actions.push_back(service->extensions()->at(i)->page_action()); in UpdatePageActions() 730 return page_action_views_[index]->page_action(); in GetPageAction() 738 return page_action_views_[i]->page_action(); in GetVisiblePageAction() [all …]
|
D | location_bar_view_gtk.h | 77 void SetPreviewEnabledPageAction(ExtensionAction *page_action, 82 GtkWidget* GetPageActionWidget(ExtensionAction* page_action); 217 ExtensionAction* page_action); 222 ExtensionAction* page_action() { return page_action_; } in page_action() function
|
/external/chromium/chrome/browser/ui/views/extensions/ |
D | extension_installed_bubble.cc | 255 } else if (extension->page_action() && in ExtensionInstalledBubble() 256 !extension->page_action()->default_icon_path().empty()) { in ExtensionInstalledBubble() 325 location_bar_view->SetPreviewEnabledPageAction(extension_->page_action(), in ShowInternal() 328 extension_->page_action()); in ShowInternal() 368 extension_->page_action(), in BubbleClosing()
|
/external/chromium/chrome/common/extensions/ |
D | extension_file_util.cc | 216 ExtensionAction* page_action = extension->page_action(); in ValidateExtension() local 217 if (page_action) { in ValidateExtension() 218 std::vector<std::string> icon_paths(*page_action->icon_paths()); in ValidateExtension() 219 if (!page_action->default_icon_path().empty()) in ValidateExtension() 220 icon_paths.push_back(page_action->default_icon_path()); in ValidateExtension()
|
D | extension.h | 584 ExtensionAction* page_action() const { return page_action_.get(); } in page_action() function
|
D | extension.cc | 2544 if (page_action()) { in GetBrowserImages() 2545 std::vector<std::string>* icon_paths = page_action()->icon_paths(); in GetBrowserImages() 2766 if (page_action()) in HasMultipleUISurfaces()
|
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
D | extension_installed_bubble_bridge.mm | 55 (extension->page_action() && 56 !extension->page_action()->default_icon_path().empty())) {
|
D | extension_installed_bubble_controller.mm | 99 } else if (extension->page_action() && 100 !extension->page_action()->default_icon_path().empty()) { 157 if (!extension_ || !extension_->page_action() || pageActionRemoved_) 165 locationBarView->SetPreviewEnabledPageAction(extension_->page_action(), 201 locationBarView->SetPreviewEnabledPageAction(extension_->page_action(), 206 locationBarView->GetPageActionBubblePoint(extension_->page_action());
|
D | extension_action_context_menu.mm | 291 if (extension_->page_action() == action_) {
|
/external/chromium/chrome/browser/automation/ |
D | automation_provider.cc | 876 if (extension->page_action()) { in ExecuteExtensionActionInActiveTabAsync()
|