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

Unified Diff: ui/views/test/widget_test.h

Issue 2660813002: Add WidgetTest::GetAllWidgets() to find dialogs created by TestBrowserDialog. (Closed)
Patch Set: fix mac 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
Index: ui/views/test/widget_test.h
diff --git a/ui/views/test/widget_test.h b/ui/views/test/widget_test.h
index 3eda5111b2b8af8e510d5ed6d7e9d7de8b1a930e..c57d34795ffdecc9dc6ce3becfeb99f71a835064 100644
--- a/ui/views/test/widget_test.h
+++ b/ui/views/test/widget_test.h
@@ -90,6 +90,9 @@ class WidgetTest : public ViewsTestBase {
// Return true if |window| is transparent according to the native platform.
static bool IsNativeWindowTransparent(gfx::NativeWindow window);
+ // Returns all Widgets that currently have a NativeWindow.
+ static Widget::Widgets GetAllWidgets();
+
private:
DISALLOW_COPY_AND_ASSIGN(WidgetTest);
};

Powered by Google App Engine
This is Rietveld 408576698