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

Unified Diff: ash/wm/workspace/multi_window_resize_controller.cc

Issue 10008084: Add ctrl+drag feature for allowing resizing window with exact positioning. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add ctrl-drap for resizing window to pixel level. Created 8 years, 8 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: ash/wm/workspace/multi_window_resize_controller.cc
diff --git a/ash/wm/workspace/multi_window_resize_controller.cc b/ash/wm/workspace/multi_window_resize_controller.cc
index ef776450ce8cf7a2632898443b3440374c9dbc12..86b9693f9abce4c54e77019266e450e1183d0302 100644
--- a/ash/wm/workspace/multi_window_resize_controller.cc
+++ b/ash/wm/workspace/multi_window_resize_controller.cc
@@ -408,7 +408,7 @@ void MultiWindowResizeController::Resize(const gfx::Point& screen_location) {
aura::Window::ConvertPointToWindow(windows_.window1->GetRootWindow(),
windows_.window1->parent(),
&parent_location);
- window_resizer_->Drag(parent_location);
+ window_resizer_->Drag(parent_location, 0);
gfx::Rect bounds = CalculateResizeWidgetBounds(parent_location);
if (windows_.direction == LEFT_RIGHT)
bounds.set_y(show_bounds_.y());

Powered by Google App Engine
This is Rietveld 408576698