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

Unified Diff: ui/wm/core/accelerator_delegate.h

Issue 308023002: Add EF_IS_REPEAT flag to KeyEvent to handle repeated accelerators correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use ui::EF_IS_REPEAT in test instead Created 6 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
« no previous file with comments | « ui/views/focus/focus_manager.cc ('k') | ui/wm/core/accelerator_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/accelerator_delegate.h
diff --git a/ui/wm/core/accelerator_delegate.h b/ui/wm/core/accelerator_delegate.h
index 966f1679e213432eb3cff3aa78de671617e5fd3a..886d7dba44554b167ccc9e68df49f750bc02c5f2 100644
--- a/ui/wm/core/accelerator_delegate.h
+++ b/ui/wm/core/accelerator_delegate.h
@@ -22,9 +22,6 @@ class AcceleratorDelegate {
KEY_TYPE_OTHER,
};
- // TODO(oshima): Move the repeat detection to AcceleratorFilter.
- virtual void PreProcessAccelerator(const ui::Accelerator& accelerator) = 0;
-
// Return true if the |accelerator| has been processed.
virtual bool ProcessAccelerator(const ui::KeyEvent& event,
const ui::Accelerator& accelerator,
« no previous file with comments | « ui/views/focus/focus_manager.cc ('k') | ui/wm/core/accelerator_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698