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

Unified Diff: ui/views/focus/focus_manager_delegate.h

Issue 1177773002: Deprecating high-conflict accelerators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplified the design, modified tests accordingly, made accelerators consumable by webcontents if n… 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
« ui/views/focus/focus_manager.h ('K') | « ui/views/focus/focus_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/focus/focus_manager_delegate.h
diff --git a/ui/views/focus/focus_manager_delegate.h b/ui/views/focus/focus_manager_delegate.h
index ca9bd71a55c8daa1b3ea210f9947416b2df6e023..d19f58106d281ae9ac934bf8dc0ebd9894fdc092 100644
--- a/ui/views/focus/focus_manager_delegate.h
+++ b/ui/views/focus/focus_manager_delegate.h
@@ -32,6 +32,10 @@ class VIEWS_EXPORT FocusManagerDelegate {
// accelerator.
virtual ui::AcceleratorTarget* GetCurrentTargetForAccelerator(
const ui::Accelerator& accelerator) const = 0;
+
+ // Returns true if the |accelerator| has been deprecated.
+ virtual bool IsAcceleratorDeprecated(
+ const ui::Accelerator& accelerator) const = 0;
};
} // namespace views
« ui/views/focus/focus_manager.h ('K') | « ui/views/focus/focus_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698