diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 23:42:30 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 23:42:30 +0000 |
commit | f7ed3f4d1f9e693ba7d8ae2a9ec2d6fd93b46453 (patch) | |
tree | 0e08453fa076c1bc0df3e84265cfe5e1a2913298 /chrome/browser/gtk/menu_gtk.h | |
parent | 8abcab400b5a1bf486bdaa7d8d77b94dfc0f0bc9 (diff) | |
download | chromium_src-f7ed3f4d1f9e693ba7d8ae2a9ec2d6fd93b46453.zip chromium_src-f7ed3f4d1f9e693ba7d8ae2a9ec2d6fd93b46453.tar.gz chromium_src-f7ed3f4d1f9e693ba7d8ae2a9ec2d6fd93b46453.tar.bz2 |
Revert "Implement accelerators in the gtk port" at avi's request.
This reverts commit 1dbbeb791d5a9ae0740afb5d7eb57710c93b7f38.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/menu_gtk.h')
-rw-r--r-- | chrome/browser/gtk/menu_gtk.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/browser/gtk/menu_gtk.h b/chrome/browser/gtk/menu_gtk.h index 6dd1d05..bef318f 100644 --- a/chrome/browser/gtk/menu_gtk.h +++ b/chrome/browser/gtk/menu_gtk.h @@ -38,8 +38,7 @@ class MenuGtk { // Builds a MenuGtk that uses |delegate| to perform actions and |menu_data| // to create the menu. - MenuGtk(MenuGtk::Delegate* delegate, const MenuCreateMaterial* menu_data, - GtkAccelGroup* accel_group); + MenuGtk(MenuGtk::Delegate* delegate, const MenuCreateMaterial* menu_data); // Builds a MenuGtk that uses |delegate| to create the menu as well as perform // actions. explicit MenuGtk(MenuGtk::Delegate* delegate); @@ -85,12 +84,6 @@ class MenuGtk { // Queries this object about the menu state. MenuGtk::Delegate* delegate_; - // Accelerator group to add keyboard accelerators to. - GtkAccelGroup* accel_group_; - - // The window this menu is attached to. - GtkWindow* window_; - // gtk_menu_popup() does not appear to take ownership of popup menus, so // MenuGtk explicitly manages the lifetime of the menu. GtkWidget* menu_; |