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

Unified Diff: trunk/src/ash/wm/dock/docked_window_layout_manager.cc

Issue 131543006: Revert 243986 "Fix AdjustBoundsToEnsureWindowVisibility to work ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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 | « trunk/src/ash/display/screen_position_controller.cc ('k') | trunk/src/ash/wm/drag_window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/wm/dock/docked_window_layout_manager.cc
===================================================================
--- trunk/src/ash/wm/dock/docked_window_layout_manager.cc (revision 244019)
+++ trunk/src/ash/wm/dock/docked_window_layout_manager.cc (working copy)
@@ -593,9 +593,6 @@
if (child == dragged_window_)
return;
// If this is the first window getting docked - update alignment.
- // TODO(oshima|varkha): A window can be added without proper bounds when
- // window is moved to another display via API or due to display configuration
- // change, so the the alignment may not be valid.
if (alignment_ == DOCKED_ALIGNMENT_NONE) {
alignment_ = GetAlignmentOfWindow(child);
DCHECK(alignment_ != DOCKED_ALIGNMENT_NONE);
« no previous file with comments | « trunk/src/ash/display/screen_position_controller.cc ('k') | trunk/src/ash/wm/drag_window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698