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

Unified Diff: ui/aura/test/aura_test_base.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_base.h
diff --git a/ui/aura/test/aura_test_base.h b/ui/aura/test/aura_test_base.h
index 34e9bca46a864613195b04a83e12b47a01e98953..5e492566f87b030431061132de4b66873f23acb5 100644
--- a/ui/aura/test/aura_test_base.h
+++ b/ui/aura/test/aura_test_base.h
@@ -64,6 +64,11 @@ class AuraTestBase : public testing::Test,
// Turns on mus with a test WindowTree. Must be called before SetUp().
void EnableMusWithTestWindowTree();
+ // 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();
+
// Used to configure the backend. This is exposed to make parameterized tests
// easy to write. This *must* be called from SetUp().
void ConfigureBackend(BackendType type);

Powered by Google App Engine
This is Rietveld 408576698