8d29e754731057d1b3ed004bc7be8a2de3908c21
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / accelerator_utils.h
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_