| Index: chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
|
| diff --git a/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc b/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
|
| index 9874fba737a6c2b92dc989da11faa657d05c419a..a4816be957b1dea2147ab4f24646f8e41a0d182b 100644
|
| --- a/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
|
| +++ b/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| #include "content/public/test/render_view_test.h"
|
| +#include "content/public/test/test_renderer_host.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "ui/aura/client/activation_client.h"
|
| #include "ui/aura/client/aura_constants.h"
|
| @@ -21,8 +22,6 @@
|
| #include "ui/aura/root_window.h"
|
| #include "ui/aura/test/test_windows.h"
|
|
|
| -typedef ash::test::AshTestBase WindowSizerAshTest;
|
| -
|
| namespace {
|
|
|
| // A browser window proxy which is able to associate an aura native window with
|
| @@ -94,6 +93,13 @@ scoped_ptr<TestBrowserWindowAura> CreateTestBrowserWindow(
|
|
|
| } // namespace
|
|
|
| +class WindowSizerAshTest : public ash::test::AshTestBase {
|
| + private:
|
| + // The existence of this object enables tests via
|
| + // RenderViewHostTester.
|
| + content::RenderViewHostTestEnabler rvh_test_enabler_;
|
| +};
|
| +
|
| // Test that the window is sized appropriately for the first run experience
|
| // where the default window bounds calculation is invoked.
|
| TEST_F(WindowSizerAshTest, DefaultSizeCase) {
|
|
|