Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_ |
| OLD | NEW |