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

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

Issue 13044014: Make sure manifest specified shortcut for Extension Command can not override the built-in shortcuts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac's secondary shortcuts can be overwritten Created 7 years, 8 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_
6 #define CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_
7
8 class Profile;
9
10 namespace ui {
11 class Accelerator;
12 }
13
14 namespace chrome {
15
16 // Returns true if the given |accelerator| is currently registered by
17 // Chrome.
18 bool IsChromeAccelerator(const ui::Accelerator& accelerator,
19 Profile* profile);
20
21 } // namespace chrome
22
23 #endif // CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_keybinding_apitest.cc ('k') | chrome/browser/ui/cocoa/accelerator_utils_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698