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

Unified Diff: ash/mus/top_level_window_factory_unittest.cc

Issue 2622053004: ash: Restore previous show state after exiting fullscreen. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « ash/common/wm_window.cc ('k') | ash/wm/dock/docked_window_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/top_level_window_factory_unittest.cc
diff --git a/ash/mus/top_level_window_factory_unittest.cc b/ash/mus/top_level_window_factory_unittest.cc
index 65c44d461068e89fe4eef0ab4c7fa0d2687fa4ec..61a5a21b8cb71064fe17edc61472052fc0d49083 100644
--- a/ash/mus/top_level_window_factory_unittest.cc
+++ b/ash/mus/top_level_window_factory_unittest.cc
@@ -24,7 +24,7 @@ using TopLevelWindowFactoryTest = AshTest;
TEST_F(TopLevelWindowFactoryTest, CreateFullscreenWindow) {
std::unique_ptr<WindowOwner> window_owner = CreateToplevelTestWindow();
WmWindow* window = window_owner->window();
- window->SetFullscreen();
+ window->SetFullscreen(true);
WmWindow* root_window = WmShell::Get()->GetPrimaryRootWindow();
EXPECT_EQ(root_window->GetBounds(), window->GetBounds());
}
« no previous file with comments | « ash/common/wm_window.cc ('k') | ash/wm/dock/docked_window_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698