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

Unified Diff: ash/common/wm/drag_details.cc

Issue 2700523004: Remove docked windows entirely in M59. (Closed)
Patch Set: Rebase Created 3 years, 9 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/common/wm/dock/docked_window_resizer.cc ('k') | ash/common/wm/fullscreen_window_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/drag_details.cc
diff --git a/ash/common/wm/drag_details.cc b/ash/common/wm/drag_details.cc
index 4a9182674e6d0b2b667258a658c350306ac21716..88e5abe020b2e45e455fce09268af077138e53ca 100644
--- a/ash/common/wm/drag_details.cc
+++ b/ash/common/wm/drag_details.cc
@@ -69,8 +69,8 @@ DragDetails::DragDetails(WmWindow* window,
window->GetType() == ui::wm::WINDOW_TYPE_PANEL &&
window->aura_window()->GetProperty(kPanelAttachedKey)) {
wm::WindowState* window_state = window->GetWindowState();
- if ((window_state->IsNormalOrSnapped() || window_state->IsDocked()) &&
- window_state->HasRestoreBounds() && window_component == HTCAPTION) {
+ if (window_state->IsNormalOrSnapped() && window_state->HasRestoreBounds() &&
+ window_component == HTCAPTION) {
restore_bounds = window_state->GetRestoreBoundsInScreen();
}
}
« no previous file with comments | « ash/common/wm/dock/docked_window_resizer.cc ('k') | ash/common/wm/fullscreen_window_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698