Chromium Code Reviews| Index: chrome/browser/ui/ash/ash_util.h |
| diff --git a/chrome/browser/ui/ash/ash_util.h b/chrome/browser/ui/ash/ash_util.h |
| index 7465076be49502964c964c09c09e1c8615aacae3..22d05d9074b1a6586dfc4d2890d8aea8449b56ee 100644 |
| --- a/chrome/browser/ui/ash/ash_util.h |
| +++ b/chrome/browser/ui/ash/ash_util.h |
| @@ -7,6 +7,10 @@ |
| #include "ui/gfx/native_widget_types.h" |
| +namespace ui { |
| +class Accelerator; |
| +} // namespace ui |
| + |
| namespace chrome { |
| // Returns true if Ash should be run at startup. |
| @@ -17,6 +21,10 @@ bool ShouldOpenAshOnStartup(); |
| bool IsNativeViewInAsh(gfx::NativeView native_view); |
| bool IsNativeWindowInAsh(gfx::NativeWindow native_window); |
| +// Returns true if the given |accelerator| has been deprecated and hence can |
| +// be consumed by web contents if needed. |
| +bool IsAcceleratorDeprecated(const ui::Accelerator accelerator); |
|
sky
2015/06/19 21:00:48
const ui::Accelerator&
afakhry
2015/06/19 22:14:19
Done.
|
| + |
| } // namespace chrome |
| #endif // CHROME_BROWSER_UI_ASH_ASH_UTIL_H_ |