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

Unified Diff: services/ui/ws/drag_controller_unittest.cc

Issue 2753163004: Remove ID from ui::PointerEvent's constructors (Closed)
Patch Set: 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
« no previous file with comments | « ash/common/metrics/pointer_metrics_recorder_unittest.cc ('k') | services/ui/ws/event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/drag_controller_unittest.cc
diff --git a/services/ui/ws/drag_controller_unittest.cc b/services/ui/ws/drag_controller_unittest.cc
index d26fdcde0fd09d8d499200e4273f356c17c32629..9e4655ac77c794ec34d0dca7d61a6335451b6b2b 100644
--- a/services/ui/ws/drag_controller_unittest.cc
+++ b/services/ui/ws/drag_controller_unittest.cc
@@ -181,9 +181,10 @@ class DragControllerTest : public testing::Test,
bool mouse_released,
uint32_t flags,
const gfx::Point& position) {
- ui::PointerEvent event(ET_POINTER_DOWN, position, position, flags,
- drag_pointer, 0, PointerDetails(),
- base::TimeTicks());
+ ui::PointerEvent event(
+ ET_POINTER_DOWN, position, position, flags, 0,
+ PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE, drag_pointer),
+ base::TimeTicks());
drag_operation_->DispatchPointerEvent(event,
window ? window->window() : nullptr);
}
« no previous file with comments | « ash/common/metrics/pointer_metrics_recorder_unittest.cc ('k') | services/ui/ws/event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698