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

Unified Diff: services/ui/ws/window_tree.h

Issue 2248263003: Updates PointerEventRouter to handle switching move type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge again Created 4 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
« no previous file with comments | « services/ui/ws/test_utils.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree.h
diff --git a/services/ui/ws/window_tree.h b/services/ui/ws/window_tree.h
index 7d0f75c3fed2827f029260b0f50abcd4629de96d..2f0f9445598ac00942deb714d87b5bc77c6697d2 100644
--- a/services/ui/ws/window_tree.h
+++ b/services/ui/ws/window_tree.h
@@ -377,8 +377,7 @@ class WindowTree : public mojom::WindowTree,
override;
void SetCapture(uint32_t change_id, Id window_id) override;
void ReleaseCapture(uint32_t change_id, Id window_id) override;
- void StartPointerWatcher(bool want_moves,
- uint32_t pointer_watcher_id) override;
+ void StartPointerWatcher(bool want_moves) override;
void StopPointerWatcher() override;
void SetWindowBounds(uint32_t change_id,
Id window_id,
@@ -498,8 +497,8 @@ class WindowTree : public mojom::WindowTree,
// requests them.
bool pointer_watcher_want_moves_ = false;
- // The ID supplied by the client for the current pointer watcher.
- uint32_t pointer_watcher_id_ = 0;
+ // True if StartPointerWatcher() was called.
+ bool has_pointer_watcher_ = false;
// WindowManager the current event came from.
WindowManagerState* event_source_wms_ = nullptr;
« no previous file with comments | « services/ui/ws/test_utils.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698