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

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

Issue 2849083002: Add pointer id to the WebMouseEvent's constructors (Closed)
Patch Set: webmouseid 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 295eb4dbd82cdeea189d594a7e6b9f7c774b7c0a..466d73eafe46b60f1df724e14927f7f8a351568c 100644
--- a/services/ui/ws/window_manager_state.cc
+++ b/services/ui/ws/window_manager_state.cc
@@ -189,7 +189,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 = MouseEvent::kMousePointerId;
+ int32_t drag_pointer = MouseEvent::kDefaultMousePointerId;
if (in_flight_event_details_ &&
in_flight_event_details_->event->IsPointerEvent()) {
drag_pointer =

Powered by Google App Engine
This is Rietveld 408576698