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

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

Issue 1260453006: ui: events: Add a class to hold common touch and stylus properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address build problems, add accessor and unit tests. Created 5 years, 4 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 a928275da3e72eaf97154b071119879c5627ecf7..bf761b0196ed5fa0979b1d729adc7d8c64985d3a 100644
--- a/ui/aura/test/ui_controls_factory_ozone.cc
+++ b/ui/aura/test/ui_controls_factory_ozone.cc
@@ -218,9 +218,10 @@ class UIControlsOzone : public ui_controls::UIControlsAura {
const gfx::PointF& 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::PointerEventDetails(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