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

Unified Diff: ui/aura/test/ui_controls_factory_ozone.cc

Issue 2786693002: Add PointerDetails to ui::MouseEvent's constructors (Closed)
Patch Set: mouse event constructor Created 3 years, 9 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: ui/aura/test/ui_controls_factory_ozone.cc
diff --git a/ui/aura/test/ui_controls_factory_ozone.cc b/ui/aura/test/ui_controls_factory_ozone.cc
index 403757b947503c7c2cf344760960eb90af5a6937..a361b7a6dac84159bf110bc92fd8b2811de7b431 100644
--- a/ui/aura/test/ui_controls_factory_ozone.cc
+++ b/ui/aura/test/ui_controls_factory_ozone.cc
@@ -217,9 +217,10 @@ class UIControlsOzone : public ui_controls::UIControlsAura {
const gfx::Point& host_location,
int flags,
int changed_button_flags) {
- ui::MouseEvent mouse_event(type, host_location, host_location,
- ui::EventTimeForNow(), flags,
- changed_button_flags);
+ ui::MouseEvent mouse_event(
+ type, host_location, host_location, ui::EventTimeForNow(), flags,
+ changed_button_flags,
+ ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
// This hack is necessary to set the repeat count for clicks.
ui::MouseEvent mouse_event2(&mouse_event);

Powered by Google App Engine
This is Rietveld 408576698