Chromium Code Reviews| Index: ash/mus/window_manager_unittest.cc |
| diff --git a/ash/mus/window_manager_unittest.cc b/ash/mus/window_manager_unittest.cc |
| index d084d1d24822ed9c2eef091d9d4e937f2eb642c4..cf38144f656422f86238e5397187fc20aca4c69d 100644 |
| --- a/ash/mus/window_manager_unittest.cc |
| +++ b/ash/mus/window_manager_unittest.cc |
| @@ -7,6 +7,8 @@ |
| #include <memory> |
| #include <utility> |
| +#include "ash/mus/bridge/wm_window_mus.h" |
| +#include "ash/mus/test/wm_test_base.h" |
| #include "ash/public/interfaces/user_window_controller.mojom.h" |
| #include "base/bind.h" |
| #include "base/macros.h" |
| @@ -156,5 +158,11 @@ TEST_F(WindowManagerTest, OpenWindowAndClose) { |
| observer.WaitUntilWindowCountReaches(0u); |
| } |
| +TEST_F(WmTestBase, Fullscreen) { |
|
James Cook
2016/07/15 18:35:23
nit: WmTestBase -> WindowManagerTest
riajiang
2016/07/20 14:16:17
Done.
|
| + ::ui::Window* mus_window = CreateFullscreenTestWindow(); |
| + WmWindow* window = WmWindowMus::Get(mus_window); |
| + EXPECT_EQ(GetPrimaryRootWindow()->bounds(), window->GetBounds()); |
| +} |
| + |
| } // namespace mus |
| } // namespace ash |