Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / accelerator_utils.h
blob8d29e754731057d1b3ed004bc7be8a2de3908c21
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.
5 #ifndef CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_
6 #define CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_
8 class Profile;
10 namespace ui {
11 class Accelerator;
14 namespace chrome {
16 // Returns true if the given |accelerator| is currently registered by
17 // Chrome.
18 bool IsChromeAccelerator(const ui::Accelerator& accelerator,
19 Profile* profile);
21 } // namespace chrome
23 #endif // CHROME_BROWSER_UI_ACCELERATOR_UTILS_H_