Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1168)

Unified Diff: chrome/browser/ui/views/location_bar/page_action_image_view.h

Issue 561023002: Use the wrench menu as a reference view for overflowed extension actions' popups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master for CQ Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/page_action_image_view.h
diff --git a/chrome/browser/ui/views/location_bar/page_action_image_view.h b/chrome/browser/ui/views/location_bar/page_action_image_view.h
index 4030a437b86cfe7adf2687c7d4dc7c351393059e..ba9c7f57dd61c043664dbe12d6aca8b803f7ceb0 100644
--- a/chrome/browser/ui/views/location_bar/page_action_image_view.h
+++ b/chrome/browser/ui/views/location_bar/page_action_image_view.h
@@ -65,6 +65,8 @@ class PageActionImageView : public ExtensionActionViewDelegate,
virtual bool IsShownInMenu() OVERRIDE;
virtual views::FocusManager* GetFocusManagerForAccelerator() OVERRIDE;
virtual views::Widget* GetParentForContextMenu() OVERRIDE;
+ virtual ExtensionActionViewController* GetPreferredPopupViewController()
+ OVERRIDE;
virtual views::View* GetReferenceViewForPopup() OVERRIDE;
virtual content::WebContents* GetCurrentWebContents() OVERRIDE;
virtual void HideActivePopup() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698