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

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

Issue 2660813002: Add WidgetTest::GetAllWidgets() to find dialogs created by TestBrowserDialog. (Closed)
Patch Set: respond to comments Created 3 years, 11 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 | « chrome/browser/ui/test/test_browser_dialog.cc ('k') | ui/aura/test/aura_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8fd4140c0b24d7807afb75b15b1787dde03c1372..06e29119a6ec29e28f60e7cf59ade00186c639d1 100644
--- a/ui/aura/test/aura_test_helper.h
+++ b/ui/aura/test/aura_test_helper.h
@@ -51,6 +51,9 @@ class AuraTestHelper {
explicit AuraTestHelper(base::MessageLoopForUI* message_loop);
~AuraTestHelper();
+ // Returns the current AuraTestHelper, or nullptr if it's not alive.
+ static AuraTestHelper* GetInstance();
+
// Makes aura target mus with a mock WindowTree (TestWindowTree). Must be
// called before SetUp().
void EnableMusWithTestWindowTree(
« no previous file with comments | « chrome/browser/ui/test/test_browser_dialog.cc ('k') | ui/aura/test/aura_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698