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

Unified Diff: ui/aura/env.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 | « ash/mus/window_manager.h ('k') | ui/aura/test/env_test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/env.h
diff --git a/ui/aura/env.h b/ui/aura/env.h
index b6b1b2c04c8ed57c0ab3f3ad470c21de20552c5f..b9b4d77005e6289fc7de07859d08307372084ebe 100644
--- a/ui/aura/env.h
+++ b/ui/aura/env.h
@@ -147,6 +147,9 @@ class AURA_EXPORT Env : public ui::EventTarget,
// This is not const for tests, which may share Env across tests and so needs
// to reset the value.
Mode mode_;
+
+ // Intentionally not exposed publicly. Someday we might want to support
+ // multiple WindowTreeClients. Use EnvTestHelper in tests.
WindowTreeClient* window_tree_client_ = nullptr;
base::ObserverList<EnvObserver> observers_;
« no previous file with comments | « ash/mus/window_manager.h ('k') | ui/aura/test/env_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698