diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-07 00:37:53 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-07 00:37:53 +0000 |
commit | 7467340a80a0dce12fcaae5d5fc62ec56131b8bb (patch) | |
tree | 5a38c0636823a267369653500a96954b2e463103 /chrome/browser/gtk/browser_titlebar.h | |
parent | 3db3ff6a8ee531957ab460c5791243b4636d11e2 (diff) | |
download | chromium_src-7467340a80a0dce12fcaae5d5fc62ec56131b8bb.zip chromium_src-7467340a80a0dce12fcaae5d5fc62ec56131b8bb.tar.gz chromium_src-7467340a80a0dce12fcaae5d5fc62ec56131b8bb.tar.bz2 |
GTK: Use page and app menu models.
- implement more MenuModel support for MenuGtk
- copy some accelerators around
TODO: centralize accelerator list (currently they are all listed twice)
TODO: get rid of standard_menus.cc (it is still used by the popup favicon menu)
BUG=NONE
TEST=page and app menus still work, still display accelerators, accelerators still work
Review URL: http://codereview.chromium.org/523105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_titlebar.h')
-rw-r--r-- | chrome/browser/gtk/browser_titlebar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_titlebar.h b/chrome/browser/gtk/browser_titlebar.h index d9d75e1..a604be2 100644 --- a/chrome/browser/gtk/browser_titlebar.h +++ b/chrome/browser/gtk/browser_titlebar.h @@ -124,7 +124,7 @@ class BrowserTitlebar : public MenuGtk::Delegate, // MenuGtk::Delegate implementation: virtual bool IsCommandEnabled(int command_id) const; virtual bool IsItemChecked(int command_id) const; - virtual void ExecuteCommand(int command_id); + virtual void ExecuteCommandById(int command_id); // Overridden from NotificationObserver: virtual void Observe(NotificationType type, |