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

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

Issue 6812037: GTK: A first *very* rough cut at a global menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment Created 9 years, 8 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/browser_window_gtk.h
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.h b/chrome/browser/ui/gtk/browser_window_gtk.h
index a372ad99a1a0fa715c62bd7facded5d553989c29..97875e8ac39e1c35c80b435fa8b46967d7f80189 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.h
+++ b/chrome/browser/ui/gtk/browser_window_gtk.h
@@ -31,6 +31,7 @@ class CustomDrawButton;
class DownloadShelfGtk;
class FindBarGtk;
class FullscreenExitBubbleGtk;
+class GlobalMenuBar;
class InfoBarContainerGtk;
class LocationBar;
class StatusBubbleGtk;
@@ -424,6 +425,10 @@ class BrowserWindowGtk : public BrowserWindow,
GdkWindowState state_;
+ // Controls a hidden GtkMenuBar that we keep updated so GNOME can take a look
+ // inside "our menu bar" and present it in the top panel, akin to Mac OS.
+ scoped_ptr<GlobalMenuBar> global_menu_bar_;
+
// The container for the titlebar + tab strip.
scoped_ptr<BrowserTitlebar> titlebar_;

Powered by Google App Engine
This is Rietveld 408576698