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

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

Issue 2685883003: chromeos: converts observed pointer events to DIPs (Closed)
Patch Set: merge Created 3 years, 10 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 | « services/ui/ws/window_server.h ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server.cc
diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
index 9ab1795a3d0ae0da4ad5f6e5add65af2a053bf36..b96c0c980bfa84166c6d683e15e5b7bfb4c3f429 100644
--- a/services/ui/ws/window_server.cc
+++ b/services/ui/ws/window_server.cc
@@ -425,11 +425,12 @@ void WindowServer::ProcessWillChangeWindowPredefinedCursor(
void WindowServer::SendToPointerWatchers(const ui::Event& event,
const UserId& user_id,
ServerWindow* target_window,
- WindowTree* ignore_tree) {
+ WindowTree* ignore_tree,
+ int64_t display_id) {
for (auto& pair : tree_map_) {
WindowTree* tree = pair.second.get();
if (tree->user_id() == user_id && tree != ignore_tree)
- tree->SendToPointerWatcher(event, target_window);
+ tree->SendToPointerWatcher(event, target_window, display_id);
}
}
« no previous file with comments | « services/ui/ws/window_server.h ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698