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

Unified Diff: content/browser/renderer_host/input/web_input_event_builders_win.h

Issue 252083002: Use MSG.time for WebInputEvent timestamps on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix style Created 6 years, 8 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 | content/browser/renderer_host/input/web_input_event_builders_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/web_input_event_builders_win.h
diff --git a/content/browser/renderer_host/input/web_input_event_builders_win.h b/content/browser/renderer_host/input/web_input_event_builders_win.h
index d3ec4a7b86f453465fdeb2eb7def2bf5b7d64648..4cd6d0dea96a8ae2281d082e54197bf289263410 100644
--- a/content/browser/renderer_host/input/web_input_event_builders_win.h
+++ b/content/browser/renderer_host/input/web_input_event_builders_win.h
@@ -13,20 +13,29 @@ namespace content {
class WebKeyboardEventBuilder {
public:
- static blink::WebKeyboardEvent Build(HWND hwnd, UINT message,
- WPARAM wparam, LPARAM lparam);
+ static blink::WebKeyboardEvent Build(HWND hwnd,
+ UINT message,
+ WPARAM wparam,
+ LPARAM lparam,
+ DWORD time_ms);
};
class WebMouseEventBuilder {
public:
- static blink::WebMouseEvent Build(HWND hwnd, UINT message,
- WPARAM wparam, LPARAM lparam);
+ static blink::WebMouseEvent Build(HWND hwnd,
+ UINT message,
+ WPARAM wparam,
+ LPARAM lparam,
+ DWORD time_ms);
};
class WebMouseWheelEventBuilder {
public:
- static blink::WebMouseWheelEvent Build(HWND hwnd, UINT message,
- WPARAM wparam, LPARAM lparam);
+ static blink::WebMouseWheelEvent Build(HWND hwnd,
+ UINT message,
+ WPARAM wparam,
+ LPARAM lparam,
+ DWORD time_ms);
};
} // namespace content
« no previous file with comments | « no previous file | content/browser/renderer_host/input/web_input_event_builders_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698