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

Unified Diff: ash/mus/window_manager_unittest.cc

Issue 2150933003: mash: Add touch-hud app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Binding; test etc Created 4 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: 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

Powered by Google App Engine
This is Rietveld 408576698