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

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

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/mus/window_tree_client_private.h ('k') | ui/events/test/event_generator.h » ('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.cc
diff --git a/ui/aura/test/mus/window_tree_client_private.cc b/ui/aura/test/mus/window_tree_client_private.cc
index c1255bf4bdf8ac4d260ca185e260fbbd2292f62a..40f77eb0e7c48dc9c0e681ee4149e9bc1bca6cc2 100644
--- a/ui/aura/test/mus/window_tree_client_private.cc
+++ b/ui/aura/test/mus/window_tree_client_private.cc
@@ -62,6 +62,16 @@ void WindowTreeClientPrivate::CallOnWindowInputEvent(
std::move(event), observer_id);
}
+void WindowTreeClientPrivate::CallOnPointerEventObserved(
+ Window* window,
+ std::unique_ptr<ui::Event> event) {
+ const int64_t display_id = 0;
+ const uint32_t window_id =
+ window ? WindowPortMus::Get(window)->server_id() : 0u;
+ tree_client_impl_->OnPointerEventObserved(std::move(event), window_id,
+ display_id);
+}
+
void WindowTreeClientPrivate::CallOnCaptureChanged(Window* new_capture,
Window* old_capture) {
tree_client_impl_->OnCaptureChanged(
« no previous file with comments | « ui/aura/test/mus/window_tree_client_private.h ('k') | ui/events/test/event_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698