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

Unified Diff: ui/platform_window/win/win_window.cc

Issue 663203006: Send the proper event time when dispatching mouse event on windows aura. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/win/win_window.cc
diff --git a/ui/platform_window/win/win_window.cc b/ui/platform_window/win/win_window.cc
index ae1e3eacdadad69866bfcaffd78cd2f979df8c98..b6a0b03977d4b145b71d2422f84f63a635b25111 100644
--- a/ui/platform_window/win/win_window.cc
+++ b/ui/platform_window/win/win_window.cc
@@ -107,7 +107,7 @@ void WinWindow::SetCursor(PlatformCursor cursor) {}
void WinWindow::MoveCursorTo(const gfx::Point& location) {}
LRESULT WinWindow::OnMouseRange(UINT message, WPARAM w_param, LPARAM l_param) {
- MSG msg = { hwnd(), message, w_param, l_param, 0,
+ MSG msg = { hwnd(), message, w_param, l_param, GetMessageTime(),
{ CR_GET_X_LPARAM(l_param), CR_GET_Y_LPARAM(l_param) } };
MouseEvent event(msg);
if (IsMouseEventFromTouch(message))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698