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

Unified Diff: ui/aura/test/mus/window_tree_client_private.h

Issue 2752903002: Make ui::test::EventGenerator work with PointerEvents in mash (Closed)
Patch Set: review comments Created 3 years, 9 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 | « ui/aura/test/event_generator_delegate_aura.cc ('k') | ui/aura/test/mus/window_tree_client_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/mus/window_tree_client_private.h
diff --git a/ui/aura/test/mus/window_tree_client_private.h b/ui/aura/test/mus/window_tree_client_private.h
index 78b360d7be73f91244be1395f87f62c6df38e85d..e600127b488449b17c44437e2c421ba0d59c0f31 100644
--- a/ui/aura/test/mus/window_tree_client_private.h
+++ b/ui/aura/test/mus/window_tree_client_private.h
@@ -49,6 +49,10 @@ class WindowTreeClientPrivate {
// Pretends that |event| has been received from the window server.
void CallOnWindowInputEvent(Window* window, std::unique_ptr<ui::Event> event);
+ // Simulates |event| matching a pointer watcher on the window server.
+ void CallOnPointerEventObserved(Window* window,
+ std::unique_ptr<ui::Event> event);
+
void CallOnCaptureChanged(Window* new_capture, Window* old_capture);
// Sets the WindowTree and client id.
« no previous file with comments | « ui/aura/test/event_generator_delegate_aura.cc ('k') | ui/aura/test/mus/window_tree_client_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698