summaryrefslogtreecommitdiffstats
path: root/app/menus
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-24 00:44:11 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-24 00:44:11 +0000
commitcfb85cd9cdc4bdeecec2988b091fce581efc63f4 (patch)
treeaaa2ac64fc245961267dc0b745cb7e348975c9e1 /app/menus
parentddb7bce3a35dd3beb3045a6656268a7a35257af9 (diff)
downloadchromium_src-cfb85cd9cdc4bdeecec2988b091fce581efc63f4.zip
chromium_src-cfb85cd9cdc4bdeecec2988b091fce581efc63f4.tar.gz
chromium_src-cfb85cd9cdc4bdeecec2988b091fce581efc63f4.tar.bz2
Revert "Clean up the WrenchMenuModel so that it uses SimpleMenu::Delegate." (r57119)
TBR=rsesek Review URL: http://codereview.chromium.org/3163035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/menus')
-rw-r--r--app/menus/accelerator.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/app/menus/accelerator.h b/app/menus/accelerator.h
index 0509c14..def6cf2 100644
--- a/app/menus/accelerator.h
+++ b/app/menus/accelerator.h
@@ -68,20 +68,6 @@ class Accelerator {
int modifiers_;
};
-// Since acclerator code is one of the few things that can't be cross platform
-// in the chrome UI, separate out just the GetAcceleratorForCommandId() from
-// the menu delegates.
-class AcceleratorProvider {
- public:
- virtual ~AcceleratorProvider() {}
-
- // Gets the accelerator for the specified command id. Returns true if the
- // command id has a valid accelerator, false otherwise.
- virtual bool GetAcceleratorForCommandId(
- int command_id,
- menus::Accelerator* accelerator) = 0;
-};
-
}
#endif // APP_MENUS_ACCELERATOR_H_