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

Unified Diff: services/ui/ws/window_manager_state.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: services/ui/ws/window_manager_state.cc
diff --git a/services/ui/ws/window_manager_state.cc b/services/ui/ws/window_manager_state.cc
index 3229b818469b09f540804c1f5c79c8cd432dc22a..f33521f0727c2e77a1ea9233afe62b8d9858a054 100644
--- a/services/ui/ws/window_manager_state.cc
+++ b/services/ui/ws/window_manager_state.cc
@@ -182,7 +182,7 @@ void WindowManagerState::SetDragDropSourceWindow(
DragTargetConnection* source_connection,
const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data,
uint32_t drag_operation) {
- int32_t drag_pointer = PointerEvent::kMousePointerId;
+ int32_t drag_pointer = MouseEvent::kMousePointerId;
if (in_flight_event_details_ &&
in_flight_event_details_->event->IsPointerEvent()) {
drag_pointer =

Powered by Google App Engine
This is Rietveld 408576698