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

Unified Diff: ui/views/win/hwnd_message_handler_delegate.h

Issue 11773007: Add initial support for handling touch events in desktop chrome AURA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler_delegate.h
===================================================================
--- ui/views/win/hwnd_message_handler_delegate.h (revision 175450)
+++ ui/views/win/hwnd_message_handler_delegate.h (working copy)
@@ -19,6 +19,7 @@
class Accelerator;
class KeyEvent;
class MouseEvent;
+class TouchEvent;
}
namespace views {
@@ -171,6 +172,10 @@
// translation). Returns true if the event was sent to the input method.
virtual bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) = 0;
+ // Called when a touch event is received. Returns true if the event was
+ // handled by the delegate.
+ virtual bool HandleTouchEvent(const ui::TouchEvent& event) = 0;
+
// Called when an IME message needs to be processed by the delegate. Returns
// true if the event was handled and no default processing should be
// performed.
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698