Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(660)

Unified Diff: chrome/browser/ui/ash/ash_util.h

Issue 1177773002: Deprecating high-conflict accelerators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moving IsDeprecated() to c/b/ui/ash Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698