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

Unified Diff: ash/key_rewriter_delegate.h

Issue 10756003: Apply Ash's key rewriter to an aura::MouseEvent so that Modifler+Click is handled correctly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years, 5 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 | « no previous file | ash/wm/key_rewriter_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/key_rewriter_delegate.h
diff --git a/ash/key_rewriter_delegate.h b/ash/key_rewriter_delegate.h
index 16fcad9675b2a29bc6ab94e00d44938bb2dd836c..f34d4695577e529f7178ca6f07febd32e9183ab2 100644
--- a/ash/key_rewriter_delegate.h
+++ b/ash/key_rewriter_delegate.h
@@ -8,6 +8,7 @@
namespace aura {
class KeyEvent;
+class LocatedEvent;
} // namespace aura
namespace ash {
@@ -26,6 +27,7 @@ class KeyRewriterDelegate {
// 1) Just return ACTION_DROP_EVENT to drop the |event|.
// 2) Rewrite the |event| and return ACTION_REWRITE_EVENT.
virtual Action RewriteOrFilterKeyEvent(aura::KeyEvent* event) = 0;
+ virtual Action RewriteOrFilterLocatedEvent(aura::LocatedEvent* event) = 0;
};
} // namespace ash
« no previous file with comments | « no previous file | ash/wm/key_rewriter_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698