diff options
Diffstat (limited to 'chrome/browser/ui/gtk/global_menu_bar.h')
-rw-r--r-- | chrome/browser/ui/gtk/global_menu_bar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/gtk/global_menu_bar.h b/chrome/browser/ui/gtk/global_menu_bar.h index 23c7a69..7ddb979 100644 --- a/chrome/browser/ui/gtk/global_menu_bar.h +++ b/chrome/browser/ui/gtk/global_menu_bar.h @@ -8,7 +8,7 @@ #include <map> #include "base/compiler_specific.h" -#include "chrome/browser/command_updater.h" +#include "chrome/browser/command_observer.h" #include "chrome/browser/prefs/pref_change_registrar.h" #include "chrome/browser/ui/gtk/global_history_menu.h" #include "content/public/browser/notification_observer.h" @@ -30,7 +30,7 @@ typedef struct _GtkWidget GtkWidget; // 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 @@ class GlobalMenuBar : public CommandUpdater::CommandObserver, 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: |