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

Unified Diff: ash/wm/window_properties.h

Issue 24108003: [Cleanup] Rename WindowSettings to WindowState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: ash/wm/window_properties.h
diff --git a/ash/wm/window_properties.h b/ash/wm/window_properties.h
index 20154da4fd1ed966fb49aed90944fbed135d62a2..f6bb8672cacddf4f5273833672b45fe0f8d84956 100644
--- a/ash/wm/window_properties.h
+++ b/ash/wm/window_properties.h
@@ -6,15 +6,19 @@
#define ASH_WM_WINDOW_PROPERTIES_H_
#include "ash/ash_export.h"
-#include "ash/wm/property_util.h"
-#include "ui/aura/window.h"
#include "ui/base/ui_base_types.h"
-namespace gfx {
-class Rect;
+namespace aura {
+class Window;
+
+template<typename T>
+struct WindowProperty;
}
namespace ash {
+namespace wm {
+class WindowState;
+} // namespace wm
namespace internal {
// Shell-specific window property keys.
@@ -37,18 +41,10 @@ ASH_EXPORT extern const aura::WindowProperty<bool>* const
ASH_EXPORT extern const aura::WindowProperty<bool>* const
kStayInSameRootWindowKey;
-// A property to remember the window position which was set before the
-// auto window position manager changed the window bounds, so that it can get
-// restored when only this one window gets shown.
-ASH_EXPORT extern const aura::WindowProperty<gfx::Rect*>* const
- kPreAutoManagedWindowBoundsKey;
-
// Property to tell if the container uses the screen coordinates.
extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey;
-// A property key to tell the workspace layout manager to always restore the
-// window to the restore-bounds (false by default).
-extern const aura::WindowProperty<bool>* const kWindowRestoresToRestoreBounds;
+extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey;
James Cook 2013/09/18 20:44:17 nit: Document this?
oshima 2013/09/19 01:52:01 Done.
// Alphabetical sort.

Powered by Google App Engine
This is Rietveld 408576698