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

Unified Diff: ui/platform_window/win/win_window.h

Issue 400413002: aura: Use PlatformWindow from WindowTreeHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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/platform_window/win/win_window.h
diff --git a/ui/platform_window/win/win_window.h b/ui/platform_window/win/win_window.h
index 644bd51dba3425d93a332a69a50b1f2e02c7cc59..0c0ac7baa9c3758a86ffd4210ef41fe3b486fd10 100644
--- a/ui/platform_window/win/win_window.h
+++ b/ui/platform_window/win/win_window.h
@@ -72,6 +72,15 @@ class WIN_WINDOW_EXPORT WinWindow : public NON_EXPORTED_BASE(PlatformWindow),
DISALLOW_COPY_AND_ASSIGN(WinWindow);
};
+namespace test {
+
+// Set true to let WindowTreeHostWin use a popup window
+// with no frame/title so that the window size and test's
+// expectations matches.
+WIN_WINDOW_EXPORT void SetUsePopupAsRootWindowForTest(bool use);
+
+} // namespace test
+
} // namespace ui
#endif // UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_

Powered by Google App Engine
This is Rietveld 408576698