| Index: chrome/browser/ui/gtk/global_menu_bar.h
|
| diff --git a/chrome/browser/ui/gtk/global_menu_bar.h b/chrome/browser/ui/gtk/global_menu_bar.h
|
| index 0497a649203dbf9e88912cddc8b925cf5aa108ac..1364e51a27df2035120964de1c39d89245573c62 100644
|
| --- a/chrome/browser/ui/gtk/global_menu_bar.h
|
| +++ b/chrome/browser/ui/gtk/global_menu_bar.h
|
| @@ -8,6 +8,7 @@
|
| #include <map>
|
|
|
| #include "chrome/browser/command_updater.h"
|
| +#include "chrome/browser/ui/gtk/global_bookmark_menu.h"
|
| #include "chrome/browser/ui/gtk/global_history_menu.h"
|
| #include "chrome/browser/ui/gtk/owned_widget_gtk.h"
|
| #include "content/common/notification_observer.h"
|
| @@ -36,6 +37,7 @@ class GlobalMenuBar : public CommandUpdater::CommandObserver,
|
| static const int TAG_RECENTLY_CLOSED = 2;
|
| static const int TAG_MOST_VISITED_HEADER = 3;
|
| static const int TAG_RECENTLY_CLOSED_HEADER = 4;
|
| + static const int TAG_BOOKMARK_CLEARABLE = 5;
|
|
|
| explicit GlobalMenuBar(Browser* browser);
|
| virtual ~GlobalMenuBar();
|
| @@ -79,6 +81,9 @@ class GlobalMenuBar : public CommandUpdater::CommandObserver,
|
| // history menu fresh.
|
| GlobalHistoryMenu history_menu_;
|
|
|
| + // Listens to the bookmark model and updates the menu.
|
| + GlobalBookmarkMenu bookmark_menu_;
|
| +
|
| // For some menu items, we want to show the accelerator, but not actually
|
| // explicitly handle it. To this end we connect those menu items' accelerators
|
| // to this group, but don't attach this group to any top level window.
|
|
|