Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Side by Side Diff: chrome/browser/ui/accelerator_utils.h

Issue 143493005: Allow extensions to remove and override the bookmark shortcut key (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_
6 #define CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_ 6 #define CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_
7 7
8 class Profile; 8 class Profile;
9 9
10 namespace ui { 10 namespace ui {
11 class Accelerator; 11 class Accelerator;
12 } 12 }
13 13
14 namespace chrome { 14 namespace chrome {
15 15
16 // Returns true if the given |accelerator| is currently registered by 16 // Returns true if the given |accelerator| is currently registered by
17 // Chrome. 17 // Chrome.
18 bool IsChromeAccelerator(const ui::Accelerator& accelerator, 18 bool IsChromeAccelerator(const ui::Accelerator& accelerator,
19 Profile* profile); 19 Profile* profile);
20 20
21 ui::Accelerator GetChromeAcceleratorForCommandId(int command_id);
Finnur 2014/02/05 13:37:40 Your design doc talks about not showing the Bookma
Mike Wittman 2014/02/05 19:17:07 Yes. I will address the menu aspects in a separate
22
21 } // namespace chrome 23 } // namespace chrome
22 24
23 #endif // CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_ 25 #endif // CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698