From cfb85cd9cdc4bdeecec2988b091fce581efc63f4 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Tue, 24 Aug 2010 00:44:11 +0000 Subject: 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 --- app/menus/accelerator.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'app') 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_ -- cgit v1.1