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

Unified Diff: ash/wm/window_positioner.cc

Issue 68033003: Undocks window first before side-snapping bounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undocks window first before side-snapping bounds (rebase) Created 7 years, 1 month 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/window_positioner.cc
diff --git a/ash/wm/window_positioner.cc b/ash/wm/window_positioner.cc
index f5b0da6662ef5342da59c97fd4bd0a1125581797..015d94eff5f38a7e5d16a393a8e9dde1beda30c6 100644
--- a/ash/wm/window_positioner.cc
+++ b/ash/wm/window_positioner.cc
@@ -324,10 +324,10 @@ void WindowPositioner::RearrangeVisibleWindowOnShow(
if (single_window) {
// When going from one to two windows both windows loose their
// "positioned by user" flags.
- added_window_state->set_bounds_changed_by_user(false);
+ added_window_state->SetBoundsChangedByUser(false);
wm::WindowState* other_window_state =
wm::GetWindowState(other_shown_window);
- other_window_state->set_bounds_changed_by_user(false);
+ other_window_state->SetBoundsChangedByUser(false);
if (WindowPositionCanBeManaged(other_shown_window)) {
// Don't override pre auto managed bounds as the current bounds

Powered by Google App Engine
This is Rietveld 408576698