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

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: oshima's comments Created 5 years, 3 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
« no previous file with comments | « chrome/browser/resources/chromeos/keyboard_overlay_data.js ('k') | chrome/browser/ui/ash/ash_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/browser/resources/chromeos/keyboard_overlay_data.js ('k') | chrome/browser/ui/ash/ash_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698