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

Unified Diff: trunk/src/ash/wm/drag_window_resizer.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
Index: trunk/src/ash/wm/drag_window_resizer.cc
===================================================================
--- trunk/src/ash/wm/drag_window_resizer.cc (revision 244019)
+++ trunk/src/ash/wm/drag_window_resizer.cc (working copy)
@@ -13,7 +13,6 @@
#include "ash/wm/coordinate_conversion.h"
#include "ash/wm/drag_window_controller.h"
#include "ash/wm/window_state.h"
-#include "ash/wm/window_util.h"
#include "base/memory/weak_ptr.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/env.h"
@@ -150,9 +149,6 @@
dst_bounds.set_x(
last_mouse_location_in_screen.x() - dst_bounds.width());
}
- ash::wm::AdjustBoundsToEnsureMinimumWindowVisibility(
- dst_display.bounds(), &dst_bounds);
-
GetTarget()->SetBoundsInScreen(dst_bounds, dst_display);
}
}
« no previous file with comments | « trunk/src/ash/wm/dock/docked_window_layout_manager.cc ('k') | trunk/src/ash/wm/drag_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698