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

Unified Diff: ash/common/wm/dock/docked_window_layout_manager.cc

Issue 2401473002: [ash-md] Erases the pre-MD code path for Overview Mode (Closed)
Patch Set: [ash-md] Erases the pre-MD code path for Overview Mode Created 4 years, 2 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/common/wm/dock/docked_window_layout_manager.cc
diff --git a/ash/common/wm/dock/docked_window_layout_manager.cc b/ash/common/wm/dock/docked_window_layout_manager.cc
index ee931ec6759f1d7a4f4fd85d3e5e00c300b96444..180817620afd18b30a44a13473c503bbb7600327 100644
--- a/ash/common/wm/dock/docked_window_layout_manager.cc
+++ b/ash/common/wm/dock/docked_window_layout_manager.cc
@@ -932,15 +932,11 @@ void DockedWindowLayoutManager::OnFullscreenStateChanged(
void DockedWindowLayoutManager::OnOverviewModeStarting() {
in_overview_ = true;
- if (!ash::MaterialDesignController::IsOverviewMaterial())
- return;
UpdateDockBounds(DockedWindowLayoutManagerObserver::CHILD_CHANGED);
}
void DockedWindowLayoutManager::OnOverviewModeEnded() {
in_overview_ = false;
- if (!ash::MaterialDesignController::IsOverviewMaterial())
- return;
UpdateDockBounds(DockedWindowLayoutManagerObserver::CHILD_CHANGED);
}

Powered by Google App Engine
This is Rietveld 408576698