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

Unified Diff: ui/aura/root_window_host_win.h

Issue 11428066: Use WS_POPUP for ash_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_win.h
diff --git a/ui/aura/root_window_host_win.h b/ui/aura/root_window_host_win.h
index f9ba6e02e6dae918b642240c3d4341d433df15e2..5b1a368c5323514d1027864a895bf980fa1c6133 100644
--- a/ui/aura/root_window_host_win.h
+++ b/ui/aura/root_window_host_win.h
@@ -7,6 +7,7 @@
#include "base/compiler_specific.h"
#include "ui/aura/root_window_host.h"
+#include "ui/base/ui_export.h"
#include "ui/base/win/window_impl.h"
namespace aura {
@@ -88,6 +89,15 @@ class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl {
DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin);
};
+namespace test {
+
+// Set true to let RootWindowHostWin use a popup window
+// with no frame/title so that the window size and test's
+// expectations matches.
+AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use);
+
+} // namespace
+
} // namespace aura
#endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698