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

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: Addressed first set of comments 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 ab37ce52c43d3fb4bfc6572d130e9391898b5972..5fe716a80fd28ded27e7016177b34b57c27cb9a6 100644
--- a/ash/wm/window_resizer.h
+++ b/ash/wm/window_resizer.h
@@ -71,6 +71,10 @@ class ASH_EXPORT WindowResizer {
// Initial bounds of the window.
gfx::Rect initial_bounds;
+ // This are the restore bounds of the window if it is a normal window and
sky 2012/09/06 19:45:11 Is there any reason to special case this? Can't yo
Mr4D (OOO till 08-26) 2012/09/06 23:16:13 Yes, because in case of a revert I need to know if
+ // the user action is trying to drag the window.
+ 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