diff options
Diffstat (limited to 'ash/wm/maximize_mode')
-rw-r--r-- | ash/wm/maximize_mode/maximize_mode_window_manager.cc | 3 | ||||
-rw-r--r-- | ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc | 9 |
2 files changed, 4 insertions, 8 deletions
diff --git a/ash/wm/maximize_mode/maximize_mode_window_manager.cc b/ash/wm/maximize_mode/maximize_mode_window_manager.cc index 6b7fc36..7506bee 100644 --- a/ash/wm/maximize_mode/maximize_mode_window_manager.cc +++ b/ash/wm/maximize_mode/maximize_mode_window_manager.cc @@ -182,8 +182,7 @@ MaximizeModeWindowManager::MaximizeModeWindowManager() } void MaximizeModeWindowManager::MaximizeAllWindows() { - MruWindowTracker::WindowList windows = - MruWindowTracker::BuildWindowList(false); + MruWindowTracker::WindowList windows = MruWindowTracker::BuildWindowList(); // Add all existing Mru windows. for (MruWindowTracker::WindowList::iterator window = windows.begin(); window != windows.end(); ++window) { diff --git a/ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc b/ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc index 534108a..d2e06a1 100644 --- a/ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc +++ b/ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc @@ -679,8 +679,7 @@ TEST_F(MaximizeModeWindowManagerTest, ModeChangeKeepsMRUOrder) { // The windows should be in the reverse order of creation in the MRU list. { - MruWindowTracker::WindowList windows = - MruWindowTracker::BuildWindowList(false); + MruWindowTracker::WindowList windows = MruWindowTracker::BuildWindowList(); EXPECT_EQ(w1.get(), windows[4]); EXPECT_EQ(w2.get(), windows[3]); EXPECT_EQ(w3.get(), windows[2]); @@ -693,8 +692,7 @@ TEST_F(MaximizeModeWindowManagerTest, ModeChangeKeepsMRUOrder) { ASSERT_TRUE(manager); EXPECT_EQ(5, manager->GetNumberOfManagedWindows()); { - MruWindowTracker::WindowList windows = - MruWindowTracker::BuildWindowList(false); + MruWindowTracker::WindowList windows = MruWindowTracker::BuildWindowList(); // We do not test maximization here again since that was done already. EXPECT_EQ(w1.get(), windows[4]); EXPECT_EQ(w2.get(), windows[3]); @@ -706,8 +704,7 @@ TEST_F(MaximizeModeWindowManagerTest, ModeChangeKeepsMRUOrder) { // Destroying should still keep the order. DestroyMaximizeModeWindowManager(); { - MruWindowTracker::WindowList windows = - MruWindowTracker::BuildWindowList(false); + MruWindowTracker::WindowList windows = MruWindowTracker::BuildWindowList(); // We do not test maximization here again since that was done already. EXPECT_EQ(w1.get(), windows[4]); EXPECT_EQ(w2.get(), windows[3]); |