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

Unified Diff: chrome/browser/ui/gtk/global_menu_bar.h

Issue 10677009: Move command handling and updating off Browser and onto a helper object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/gtk/global_menu_bar.h
===================================================================
--- chrome/browser/ui/gtk/global_menu_bar.h (revision 144216)
+++ chrome/browser/ui/gtk/global_menu_bar.h (working copy)
@@ -30,7 +30,7 @@
// GtkMenuBar found. Thankfully, these systems don't check to see if the menu
// bar itself is visible, so we insert a GtkMenuBar into the window hierarchy
// and set it to be invisible.
-class GlobalMenuBar : public CommandUpdater::CommandObserver,
+class GlobalMenuBar : public CommandObserver,
public content::NotificationObserver {
public:
static const int TAG_NORMAL = 0;
@@ -65,7 +65,7 @@
std::map<int, GtkWidget*>* id_to_menu_item,
GtkWidget* menu_to_add_to);
- // CommandUpdater::CommandObserver:
+ // CommandObserver:
virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE;
// content::NotificationObserver:

Powered by Google App Engine
This is Rietveld 408576698