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

Unified Diff: ash/mus/top_level_window_factory_unittest.cc

Issue 2642003002: Removes ash::mus::RootWindowController (Closed)
Patch Set: feedback Created 3 years, 11 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/top_level_window_factory_unittest.cc
diff --git a/ash/mus/root_window_controller_unittest.cc b/ash/mus/top_level_window_factory_unittest.cc
similarity index 84%
rename from ash/mus/root_window_controller_unittest.cc
rename to ash/mus/top_level_window_factory_unittest.cc
index 2037cd2bf4ed813a82667791766f831f9db9441f..65c44d461068e89fe4eef0ab4c7fa0d2687fa4ec 100644
--- a/ash/mus/root_window_controller_unittest.cc
+++ b/ash/mus/top_level_window_factory_unittest.cc
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ash/mus/root_window_controller.h"
-
#include "ash/common/test/ash_test.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
@@ -21,9 +19,9 @@ int64_t GetDisplayId(aura::Window* window) {
} // namespace
-using RootWindowControllerTest = AshTest;
+using TopLevelWindowFactoryTest = AshTest;
-TEST_F(RootWindowControllerTest, CreateFullscreenWindow) {
+TEST_F(TopLevelWindowFactoryTest, CreateFullscreenWindow) {
std::unique_ptr<WindowOwner> window_owner = CreateToplevelTestWindow();
WmWindow* window = window_owner->window();
window->SetFullscreen();
@@ -31,9 +29,9 @@ TEST_F(RootWindowControllerTest, CreateFullscreenWindow) {
EXPECT_EQ(root_window->GetBounds(), window->GetBounds());
}
-using RootWindowControllerWmTest = mus::WmTestBase;
+using TopLevelWindowFactoryWmTest = mus::WmTestBase;
-TEST_F(RootWindowControllerWmTest, IsWindowShownInCorrectDisplay) {
+TEST_F(TopLevelWindowFactoryWmTest, IsWindowShownInCorrectDisplay) {
if (!SupportsMultipleDisplays())
return;

Powered by Google App Engine
This is Rietveld 408576698