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..14dbb40827290b2d0d9575340017107caf0ac60d 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); |
+ |
} // namespace chrome |
#endif // CHROME_BROWSER_UI_ASH_ASH_UTIL_H_ |