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

Unified Diff: chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h

Issue 550313002: Pop extensions out of the action overflow menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/extensions/browser_action_overflow_menu_controller.h
diff --git a/chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h b/chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h
index 069bcf5729da8c9acdb5945d4e20d679b1ac1d1f..e9d444f43f30bb1163fc0fb98b539602db4b0741 100644
--- a/chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h
+++ b/chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h
@@ -28,11 +28,14 @@ class Widget;
// drag and drop, etc). This class manages its own lifetime.
class BrowserActionOverflowMenuController : public views::MenuDelegate {
public:
- // The observer is notified prior to the menu being deleted.
class Observer {
public:
+ // Called prior to this menu being deleted.
virtual void NotifyMenuDeleted(
BrowserActionOverflowMenuController* controller) = 0;
+
+ // Called when an extension action has been moved to the overflow menu.
+ virtual void NotifyActionMovedToOverflow() = 0;
};
BrowserActionOverflowMenuController(

Powered by Google App Engine
This is Rietveld 408576698