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

Unified Diff: ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc

Issue 2806783002: ash: Do not constrain window bounds if requested (Closed)
Patch Set: Remove dead code Created 3 years, 8 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/wm/maximize_mode/maximize_mode_window_manager_unittest.cc
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 f12fc50c5b730aa53e2fce0d5339bf37d5fcd972..7fd8e490469b7578370bc72afeaa4ceea8cd6d77 100644
--- a/ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc
+++ b/ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc
@@ -1594,7 +1594,7 @@ TEST_F(MaximizeModeWindowManagerTest, DontMaximizeClientManagedWindows) {
std::unique_ptr<aura::Window> window(
CreateWindow(ui::wm::WINDOW_TYPE_NORMAL, rect));
- wm::GetWindowState(window.get())->set_allow_set_bounds_in_maximized(true);
+ wm::GetWindowState(window.get())->set_allow_set_bounds_direct(true);
MaximizeModeWindowManager* manager = CreateMaximizeModeWindowManager();
EXPECT_FALSE(wm::GetWindowState(window.get())->IsMaximized());
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_manager.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698