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

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: fix test Created 6 years, 7 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: ui/wm/core/accelerator_delegate.h
diff --git a/ui/wm/core/accelerator_delegate.h b/ui/wm/core/accelerator_delegate.h
index dccabda2e7bebaa142536bb04236c47120f3d6c7..3929969a88eb12c9517819e68435c084be511b0e 100644
--- a/ui/wm/core/accelerator_delegate.h
+++ b/ui/wm/core/accelerator_delegate.h
@@ -16,9 +16,6 @@ class AcceleratorDelegate {
public:
virtual ~AcceleratorDelegate() {}
- // TODO(oshima): Move the repeat detection to AcceleratorFilter.
- virtual void PreProcessAccelerator(const ui::Accelerator& accelerator) = 0;
-
// Returns true if the window should be allowed a chance to handle
// system keys.
virtual bool CanConsumeSystemKeys(const ui::KeyEvent& event) = 0;

Powered by Google App Engine
This is Rietveld 408576698