Index: chrome/browser/ui/gtk/global_menu_bar.h |
=================================================================== |
--- chrome/browser/ui/gtk/global_menu_bar.h (revision 144460) |
+++ chrome/browser/ui/gtk/global_menu_bar.h (working copy) |
@@ -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 @@ |
// 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: |