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

Unified Diff: ui/views/widget/native_widget_win.cc

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, 12 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/views/widget/native_widget_win.cc
===================================================================
--- ui/views/widget/native_widget_win.cc (revision 174871)
+++ ui/views/widget/native_widget_win.cc (working copy)
@@ -781,6 +781,11 @@
return !!input_method;
}
+bool NativeWidgetWin::HandleTouchEvent(const ui::TouchEvent& event) {
+ delegate_->OnTouchEvent(const_cast<ui::TouchEvent*>(&event));
sky 2013/01/07 15:53:45 Does this mean windows is now going to start gener
ananta 2013/01/08 00:50:22 As per our discussion, added checks in hwnd_messag
+ return event.handled();
+}
+
bool NativeWidgetWin::HandleIMEMessage(UINT message,
WPARAM w_param,
LPARAM l_param,

Powered by Google App Engine
This is Rietveld 408576698