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

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

Issue 2183163002: mus: Change PointerWatcher to observe all pointer events, with moves optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pointer enter/exit; has_pointer_watcher etc 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
Index: services/ui/ws/test_change_tracker.h
diff --git a/services/ui/ws/test_change_tracker.h b/services/ui/ws/test_change_tracker.h
index 6fa86118a88ae95d71d3ad11304bfe4c6b2f4b07..b7a63ebc8858fcf855a4deb8ec46fef56e92a315 100644
--- a/services/ui/ws/test_change_tracker.h
+++ b/services/ui/ws/test_change_tracker.h
@@ -35,7 +35,7 @@ enum ChangeType {
CHANGE_TYPE_NODE_DRAWN_STATE_CHANGED,
CHANGE_TYPE_NODE_DELETED,
CHANGE_TYPE_INPUT_EVENT,
- CHANGE_TYPE_EVENT_OBSERVED,
+ CHANGE_TYPE_POINTER_WATCHER_EVENT,
CHANGE_TYPE_PROPERTY_CHANGED,
CHANGE_TYPE_FOCUSED,
CHANGE_TYPE_CURSOR_CHANGED,
@@ -78,7 +78,7 @@ struct Change {
gfx::Rect bounds;
gfx::Rect bounds2;
int32_t event_action;
- uint32_t event_observer_id;
+ uint32_t pointer_watcher_id;
mojo::String embed_url;
mojom::OrderDirection direction;
bool bool_value;
@@ -157,8 +157,9 @@ class TestChangeTracker {
void OnWindowParentDrawnStateChanged(Id window_id, bool drawn);
void OnWindowInputEvent(Id window_id,
const ui::Event& event,
- uint32_t event_observer_id);
- void OnEventObserved(const ui::Event& event, uint32_t event_observer_id);
+ uint32_t pointer_watcher_id);
+ void OnPointerEventObserved(const ui::Event& event,
+ uint32_t pointer_watcher_id);
void OnWindowSharedPropertyChanged(Id window_id,
mojo::String name,
mojo::Array<uint8_t> data);

Powered by Google App Engine
This is Rietveld 408576698