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

Unified Diff: ash/wm/window_resizer.h

Issue 24108003: [Cleanup] Rename WindowSettings to WindowState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase fix Created 7 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
« no previous file with comments | « ash/wm/window_properties.cc ('k') | ash/wm/window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_resizer.h
diff --git a/ash/wm/window_resizer.h b/ash/wm/window_resizer.h
index 6583d8913b0cd0bfac041e8bbb1eca487d19c52c..29479b3266fcbc1b8313a2e5f00ce2f850c07e20 100644
--- a/ash/wm/window_resizer.h
+++ b/ash/wm/window_resizer.h
@@ -16,6 +16,9 @@ class Window;
}
namespace ash {
+namespace wm {
+class WindowState;
+}
// WindowResizer is used by ToplevelWindowEventFilter to handle dragging, moving
// or resizing a window. All coordinates passed to this are in the parent
@@ -65,8 +68,13 @@ class ASH_EXPORT WindowResizer {
~Details();
// The window we're resizing.
+ // TODO(oshima): replace this with accessor method to
+ // |window_state->window()|.
aura::Window* window;
+ // The ash window state for the |window| above.
+ wm::WindowState* window_state;
+
// Initial bounds of the window in parent coordinates.
gfx::Rect initial_bounds_in_parent;
« no previous file with comments | « ash/wm/window_properties.cc ('k') | ash/wm/window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698