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

Unified Diff: ash/wm/window_resizer.h

Issue 10918077: Adding proper dragging behavior for L/R maximized windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: As requested Created 8 years, 3 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/window_resizer.h
diff --git a/ash/wm/window_resizer.h b/ash/wm/window_resizer.h
index 6cfce90762bd70f15f071268dee3ed109fca84c0..0c55ebac5a08bd7e1ba6d6ca0d955ad991e1d10a 100644
--- a/ash/wm/window_resizer.h
+++ b/ash/wm/window_resizer.h
@@ -74,6 +74,10 @@ class ASH_EXPORT WindowResizer {
// Initial bounds of the window.
gfx::Rect initial_bounds;
+ // Restore bounds (in screen coordinates) of the window before the drag
+ // started. Only set if the window is normal and is being dragged.
+ gfx::Rect restore_bounds;
+
// Location passed to the constructor, in |window->parent()|'s coordinates.
gfx::Point initial_location_in_parent;

Powered by Google App Engine
This is Rietveld 408576698