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

Unified Diff: ui/aura/test/aura_test_helper.h

Issue 2897663002: chromeos: makes it possible for windows to outlive WindowTreeClient (Closed)
Patch Set: Created 3 years, 7 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: ui/aura/test/aura_test_helper.h
diff --git a/ui/aura/test/aura_test_helper.h b/ui/aura/test/aura_test_helper.h
index 25f612bb5e2d8ffab3db08b9d37a44533928951b..f341c33b0abb5ef66fb5e4f4e253b8a2200c14e6 100644
--- a/ui/aura/test/aura_test_helper.h
+++ b/ui/aura/test/aura_test_helper.h
@@ -60,6 +60,11 @@ class AuraTestHelper {
// before SetUp().
void EnableMusWithWindowTreeClient(WindowTreeClient* window_tree_client);
+ // Explicitly destroy the WindowTreeClient. Normally the WindowTreeClient is
+ // shutdown at the right time and there is no need to call this. This is
+ // provided for testing shutdown ordering.
+ void DeleteWindowTreeClient();
+
// Creates and initializes (shows and sizes) the RootWindow for use in tests.
void SetUp(ui::ContextFactory* context_factory,
ui::ContextFactoryPrivate* context_factory_private);

Powered by Google App Engine
This is Rietveld 408576698