Index: content/browser/renderer_host/input/web_input_event_builders_android.cc |
diff --git a/content/browser/renderer_host/input/web_input_event_builders_android.cc b/content/browser/renderer_host/input/web_input_event_builders_android.cc |
index 3fb06bb90826bfc5f560befb23d4f0231682ae6c..b522ae40a3562e595f7e57cb65c713221d58f1d0 100644 |
--- a/content/browser/renderer_host/input/web_input_event_builders_android.cc |
+++ b/content/browser/renderer_host/input/web_input_event_builders_android.cc |
@@ -18,6 +18,7 @@ using blink::WebKeyboardEvent; |
using blink::WebGestureEvent; |
using blink::WebMouseEvent; |
using blink::WebMouseWheelEvent; |
+using blink::WebPointerProperties; |
using blink::WebTouchEvent; |
using blink::WebTouchPoint; |
@@ -70,17 +71,19 @@ WebKeyboardEvent WebKeyboardEventBuilder::Build(WebInputEvent::Type type, |
return result; |
} |
-WebMouseEvent WebMouseEventBuilder::Build(blink::WebInputEvent::Type type, |
+WebMouseEvent WebMouseEventBuilder::Build(WebInputEvent::Type type, |
WebMouseEvent::Button button, |
double time_sec, |
int window_x, |
int window_y, |
int modifiers, |
- int click_count) { |
+ int click_count, |
+ WebPointerProperties::PointerType pointer_type) { |
DCHECK(WebInputEvent::isMouseEventType(type)); |
WebMouseEvent result; |
result.type = type; |
+ result.pointerType = pointer_type; |
result.x = window_x; |
result.y = window_y; |
result.windowX = window_x; |