Chromium Code Reviews| 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 7a377017eb7892a00edf306a79626d7947deda04..36ff9b967703955e7574c16f9f47eeabfd38a99f 100644 |
| --- a/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc |
| +++ b/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc |
| @@ -15,6 +15,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" |
| @@ -22,8 +23,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 |
| @@ -89,6 +88,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_; |
| +}; |
|
sky
2013/10/11 22:34:27
DISALLOW...
samarth
2013/10/14 16:58:57
Done.
samarth
2013/10/14 17:22:33
Actually I can't do that since the test cases will
|
| + |
| // Test that the window is sized appropriately for the first run experience |
| // where the default window bounds calculation is invoked. |
| TEST_F(WindowSizerAshTest, DefaultSizeCase) { |