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

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

Issue 2978273002: Revert of Cros Tablet Window management - Split Screen part II (Closed)
Patch Set: Created 3 years, 5 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/BUILD.gn ('k') | ash/wm/overview/overview_animation_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/maximize_mode/maximize_mode_window_state.cc
diff --git a/ash/wm/maximize_mode/maximize_mode_window_state.cc b/ash/wm/maximize_mode/maximize_mode_window_state.cc
index 4b9e6eba24684e2c71772fc5377d7bf8e9934e2f..260ad80e466f6d27bd94cf80a3295ba70d7777b1 100644
--- a/ash/wm/maximize_mode/maximize_mode_window_state.cc
+++ b/ash/wm/maximize_mode/maximize_mode_window_state.cc
@@ -87,7 +87,7 @@
return Shell::Get()
->split_view_controller()
->GetSnappedWindowBoundsInParent(state_object->window(),
- SplitViewController::LEFT);
+ SplitViewController::LEFT_SNAPPED);
}
if (state_object->GetStateType() == wm::WINDOW_STATE_TYPE_RIGHT_SNAPPED) {
@@ -95,7 +95,7 @@
return Shell::Get()
->split_view_controller()
->GetSnappedWindowBoundsInParent(state_object->window(),
- SplitViewController::RIGHT);
+ SplitViewController::RIGHT_SNAPPED);
}
gfx::Rect bounds_in_parent;
@@ -338,11 +338,11 @@
} else if (target_state == wm::WINDOW_STATE_TYPE_LEFT_SNAPPED) {
window_state->SetBoundsDirectAnimated(
Shell::Get()->split_view_controller()->GetSnappedWindowBoundsInParent(
- window_state->window(), SplitViewController::LEFT));
+ window_state->window(), SplitViewController::LEFT_SNAPPED));
} else if (target_state == wm::WINDOW_STATE_TYPE_RIGHT_SNAPPED) {
window_state->SetBoundsDirectAnimated(
Shell::Get()->split_view_controller()->GetSnappedWindowBoundsInParent(
- window_state->window(), SplitViewController::RIGHT));
+ window_state->window(), SplitViewController::RIGHT_SNAPPED));
} else {
UpdateBounds(window_state, animated);
}
« no previous file with comments | « ash/BUILD.gn ('k') | ash/wm/overview/overview_animation_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698