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

Unified Diff: ash/wm/workspace/multi_window_resize_controller.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: ash/wm/workspace/multi_window_resize_controller.cc
diff --git a/ash/wm/workspace/multi_window_resize_controller.cc b/ash/wm/workspace/multi_window_resize_controller.cc
index 067275b59bc64efafb619d5e2f0a62bdd8f5a927..08f5b4611cf9f9dc337ebcb18b3b94c891ff2271 100644
--- a/ash/wm/workspace/multi_window_resize_controller.cc
+++ b/ash/wm/workspace/multi_window_resize_controller.cc
@@ -549,9 +549,10 @@ bool MultiWindowResizeController::IsOverWindows(
gfx::Point location_in_root(location_in_screen);
aura::Window* root = windows_.window1->GetRootWindow();
::wm::ConvertPointFromScreen(root, &location_in_root);
- ui::MouseEvent test_event(ui::ET_MOUSE_MOVED, location_in_root,
- location_in_root, ui::EventTimeForNow(),
- ui::EF_NONE, ui::EF_NONE);
+ ui::MouseEvent test_event(
+ ui::ET_MOUSE_MOVED, location_in_root, location_in_root,
+ ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE,
+ ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
ui::EventTarget* event_handler = static_cast<ui::EventTarget*>(root)
->GetEventTargeter()
->FindTargetForEvent(root, &test_event);

Powered by Google App Engine
This is Rietveld 408576698