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

Unified Diff: ui/aura/test/env_test_helper.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/env.h ('k') | ui/aura/test/event_generator_delegate_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/env_test_helper.h
diff --git a/ui/aura/test/env_test_helper.h b/ui/aura/test/env_test_helper.h
index 321615875800796eebb8f422d6cab3c8d0345efa..09d9305a2e3ef0c1d5551239c2a562f0ebb8e4d7 100644
--- a/ui/aura/test/env_test_helper.h
+++ b/ui/aura/test/env_test_helper.h
@@ -32,6 +32,8 @@ class EnvTestHelper {
void SetMode(Env::Mode mode) { env_->mode_ = mode; }
+ WindowTreeClient* GetWindowTreeClient() { return env_->window_tree_client_; }
+
// This circumvents the DCHECKs in Env::SetWindowTreeClient() and should
// only be used for tests where Env is long lived.
void SetWindowTreeClient(WindowTreeClient* window_tree_client) {
« no previous file with comments | « ui/aura/env.h ('k') | ui/aura/test/event_generator_delegate_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698