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

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 cd8126838d737bbdfbe4cfde3c21a0c0b5243637..4081c656fb4164000b40ecc3b084690370719d62 100644
--- a/content/common/input/synthetic_web_input_event_builders.cc
+++ b/content/common/input/synthetic_web_input_event_builders.cc
@@ -39,7 +39,7 @@ WebMouseEvent SyntheticWebMouseEventBuilder::Build(
result.y = window_y;
result.setModifiers(modifiers);
result.pointerType = pointer_type;
- result.id = ui::PointerEvent::kMousePointerId;
+ result.id = ui::MouseEvent::kMousePointerId;
return result;
}

Powered by Google App Engine
This is Rietveld 408576698