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

Unified Diff: chrome/browser/ui/window_sizer/window_sizer.cc

Issue 2700523004: Remove docked windows entirely in M59. (Closed)
Patch Set: Rebase Created 3 years, 10 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: chrome/browser/ui/window_sizer/window_sizer.cc
diff --git a/chrome/browser/ui/window_sizer/window_sizer.cc b/chrome/browser/ui/window_sizer/window_sizer.cc
index 2848985a34a973b9ad1e28c01343a9ed02325767..87120a946fe653a6fae6e4930a5178f0fd52d8ac 100644
--- a/chrome/browser/ui/window_sizer/window_sizer.cc
+++ b/chrome/browser/ui/window_sizer/window_sizer.cc
@@ -80,17 +80,6 @@ class DefaultStateProvider : public WindowSizer::StateProvider {
wp_pref->GetInteger("work_area_right", &work_area_right);
if (*show_state == ui::SHOW_STATE_DEFAULT && maximized)
*show_state = ui::SHOW_STATE_MAXIMIZED;
-#if defined(USE_ASH)
- // TODO(afakhry): Remove Docked Windows in M58.
- if (ash::switches::DockedWindowsEnabled()) {
- bool docked = false;
- wp_pref->GetBoolean("docked", &docked);
- if (*show_state == ui::SHOW_STATE_DEFAULT && docked &&
- !browser_->is_type_tabbed()) {
- *show_state = ui::SHOW_STATE_DOCKED;
- }
- }
-#endif // USE_ASH
}
work_area->SetRect(work_area_left, work_area_top,
std::max(0, work_area_right - work_area_left),

Powered by Google App Engine
This is Rietveld 408576698