Index: chrome/browser/ui/views/frame/browser_frame_ash.cc |
diff --git a/chrome/browser/ui/views/frame/browser_frame_ash.cc b/chrome/browser/ui/views/frame/browser_frame_ash.cc |
index d40bb82282e9f3b4c9b1d0174d45492466a8b64a..8cee83aa5de4de4fc5ef79687a7a5a0059141436 100644 |
--- a/chrome/browser/ui/views/frame/browser_frame_ash.cc |
+++ b/chrome/browser/ui/views/frame/browser_frame_ash.cc |
@@ -118,22 +118,6 @@ void BrowserFrameAsh::GetWindowPlacement( |
*show_state != ui::SHOW_STATE_MINIMIZED) { |
*show_state = ui::SHOW_STATE_NORMAL; |
} |
- |
- // TODO(afakhry): Remove Docked Windows in M58. |
- if (ash::switches::DockedWindowsEnabled() && |
- ash::wm::GetWindowState(GetNativeWindow())->IsDocked()) { |
- if (browser_view_->browser()->is_app()) { |
- // Only web app windows (not tabbed browser windows) persist docked state. |
- *show_state = ui::SHOW_STATE_DOCKED; |
- } else { |
- // Restore original restore bounds for tabbed browser windows ignoring |
- // the docked origin. |
- gfx::Rect* restore_bounds = GetWidget()->GetNativeWindow()->GetProperty( |
- aura::client::kRestoreBoundsKey); |
- if (restore_bounds) |
- *bounds = *restore_bounds; |
- } |
- } |
} |
bool BrowserFrameAsh::PreHandleKeyboardEvent( |