summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/browser_titlebar.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 18:15:01 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 18:15:01 +0000
commit4470e2f515cfeca1000f15a8b52b9d27bdb10fd5 (patch)
tree9124ccc9ccf4f14eb4943909128bf95ef321c86a /chrome/browser/gtk/browser_titlebar.h
parentaf561035f6bd3f19318d0500e936d9259a71ffe1 (diff)
downloadchromium_src-4470e2f515cfeca1000f15a8b52b9d27bdb10fd5.zip
chromium_src-4470e2f515cfeca1000f15a8b52b9d27bdb10fd5.tar.gz
chromium_src-4470e2f515cfeca1000f15a8b52b9d27bdb10fd5.tar.bz2
linux: Allow showing icons in menus.
This patch adds nice little icons in the menus (both for context and window menus). At this moment, only standard stock icons are used. It will be possible to add new stock icons of Chrome's own for the items that currently don't have any corresponding GTK+ stock icons. BUG=None TEST=Open the wrench menu, or context menu for the tab content/tab title etc., and you should see nice little icons on the left for many items. Review URL: http://codereview.chromium.org/3619010 Patch from Sadrul Chowdhury <sadrul@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_titlebar.h')
-rw-r--r--chrome/browser/gtk/browser_titlebar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_titlebar.h b/chrome/browser/gtk/browser_titlebar.h
index 431eddf4..35491fa 100644
--- a/chrome/browser/gtk/browser_titlebar.h
+++ b/chrome/browser/gtk/browser_titlebar.h
@@ -17,6 +17,7 @@
#include "app/menus/simple_menu_model.h"
#include "app/gtk_signal.h"
#include "base/scoped_ptr.h"
+#include "chrome/browser/gtk/menu_gtk.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
@@ -29,7 +30,8 @@ class TabContents;
class BrowserTitlebar : public NotificationObserver,
public ActiveWindowWatcherX::Observer,
- public menus::SimpleMenuModel::Delegate {
+ public menus::SimpleMenuModel::Delegate,
+ public MenuGtk::Delegate {
public:
BrowserTitlebar(BrowserWindowGtk* browser_window, GtkWindow* window);
virtual ~BrowserTitlebar();