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

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

Issue 1318653002: Attempt to fix mouse input issues after a sequence of touch presses. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass the correct input id to release touch state during touch release Created 5 years, 4 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 | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler.h
diff --git a/ui/views/win/hwnd_message_handler.h b/ui/views/win/hwnd_message_handler.h
index 7e54a8f6e47d57507b6449285f01fae051d0e7b1..4649c3a902e260d58b9989552dcf19361b58b5d0 100644
--- a/ui/views/win/hwnd_message_handler.h
+++ b/ui/views/win/hwnd_message_handler.h
@@ -483,6 +483,18 @@ class VIEWS_EXPORT HWNDMessageHandler :
// Provides functionality to transition a frame to DWM.
void PerformDwmTransition();
+ // Generates a touch event and adds it to the |touch_events| parameter.
+ // |point| is the point where the touch was initiated.
+ // |id| is the event id associated with the touch event.
+ // |event_time| is the current time used for latency calculation.
+ // |time_stamp| is the time delta associated with the message.
+ void GenerateTouchEvent(ui::EventType event_type,
+ const gfx::Point& point,
+ unsigned int id,
+ base::TimeTicks event_time,
+ base::TimeDelta time_stamp,
+ TouchEvents* touch_events);
+
HWNDMessageHandlerDelegate* delegate_;
scoped_ptr<FullscreenHandler> fullscreen_handler_;
« no previous file with comments | « no previous file | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698