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

Unified Diff: content/browser/renderer_host/web_input_event_aurawin.cc

Issue 2016383002: Set PointerType of pointer event on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 7 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 | « content/browser/renderer_host/web_input_event_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/web_input_event_aurawin.cc
diff --git a/content/browser/renderer_host/web_input_event_aurawin.cc b/content/browser/renderer_host/web_input_event_aurawin.cc
index 96e5825765454800c6e572542533cc1190441afe..0cb36dff27a803b79807af9ef081394b5cecbd17 100644
--- a/content/browser/renderer_host/web_input_event_aurawin.cc
+++ b/content/browser/renderer_host/web_input_event_aurawin.cc
@@ -16,18 +16,20 @@ namespace content {
blink::WebMouseEvent MakeUntranslatedWebMouseEventFromNativeEvent(
const base::NativeEvent& native_event,
- const base::TimeDelta& time_stamp) {
+ const base::TimeDelta& time_stamp,
+ blink::WebPointerProperties::PointerType pointer_type) {
return WebMouseEventBuilder::Build(native_event.hwnd, native_event.message,
native_event.wParam, native_event.lParam,
- time_stamp.InSecondsF());
+ time_stamp.InSecondsF(), pointer_type);
}
blink::WebMouseWheelEvent MakeUntranslatedWebMouseWheelEventFromNativeEvent(
const base::NativeEvent& native_event,
- const base::TimeDelta& time_stamp) {
+ const base::TimeDelta& time_stamp,
+ blink::WebPointerProperties::PointerType pointer_type) {
return WebMouseWheelEventBuilder::Build(
native_event.hwnd, native_event.message, native_event.wParam,
- native_event.lParam, time_stamp.InSecondsF());
+ native_event.lParam, time_stamp.InSecondsF(), pointer_type);
}
blink::WebKeyboardEvent MakeWebKeyboardEventFromNativeEvent(
« no previous file with comments | « content/browser/renderer_host/web_input_event_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698