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

Unified Diff: chrome/views/focus/focus_manager.h

Issue 99161: Handle all accelerators in focus manager when focused view doesn't want to ta... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 8 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/views/controls/tree/tree_view.cc ('k') | chrome/views/focus/focus_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/focus/focus_manager.h
===================================================================
--- chrome/views/focus/focus_manager.h (revision 14861)
+++ chrome/views/focus/focus_manager.h (working copy)
@@ -257,16 +257,8 @@
void UnregisterAccelerators(AcceleratorTarget* target);
// Activate the target associated with the specified accelerator if any.
- // If |prioritary_accelerators_only| is true, only the following accelerators
- // are allowed:
- // - a key combination including Ctrl or Alt
- // - the escape key
- // - the enter key
- // - any F key (F1, F2, F3 ...)
- // - any browser specific keys (as available on special keyboards)
// Returns true if an accelerator was activated.
- bool ProcessAccelerator(const Accelerator& accelerator,
- bool prioritary_accelerators_only);
+ bool ProcessAccelerator(const Accelerator& accelerator);
// NotificationObserver method.
void Observe(NotificationType type,
« no previous file with comments | « chrome/views/controls/tree/tree_view.cc ('k') | chrome/views/focus/focus_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698