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

Unified Diff: content/common/input/synthetic_web_input_event_builders.cc

Issue 2786693002: Add PointerDetails to ui::MouseEvent's constructors (Closed)
Patch Set: mouse constructor Created 3 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
Index: content/common/input/synthetic_web_input_event_builders.cc
diff --git a/content/common/input/synthetic_web_input_event_builders.cc b/content/common/input/synthetic_web_input_event_builders.cc
index 2719f5043d825cd19d825db238dc787412e4466e..5e5638e6c3b7d9872f071cfbd2a5b19b1d31dab9 100644
--- a/content/common/input/synthetic_web_input_event_builders.cc
+++ b/content/common/input/synthetic_web_input_event_builders.cc
@@ -38,7 +38,7 @@ WebMouseEvent SyntheticWebMouseEventBuilder::Build(
result.SetPositionInWidget(window_x, window_y);
result.SetModifiers(modifiers);
result.pointer_type = pointer_type;
- result.id = ui::PointerEvent::kMousePointerId;
+ result.id = ui::MouseEvent::kMousePointerId;
return result;
}
« no previous file with comments | « content/browser/renderer_host/input/synthetic_gesture_target_aura.cc ('k') | services/ui/ws/drag_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698