Index: ash/wm/property_util.cc |
=================================================================== |
--- ash/wm/property_util.cc (revision 124386) |
+++ ash/wm/property_util.cc (working copy) |
@@ -7,20 +7,11 @@ |
#include "ash/wm/window_util.h" |
#include "ui/aura/client/aura_constants.h" |
#include "ui/aura/window.h" |
-#include "ui/aura/window_property.h" |
#include "ui/base/ui_base_types.h" |
#include "ui/gfx/rect.h" |
-DECLARE_WINDOW_PROPERTY_TYPE(bool) |
- |
namespace ash { |
-namespace { |
- |
-const aura::WindowProperty<bool> kWindowTrackedByWorkspaceSplitProp = {true}; |
- |
-} // namespace |
- |
void SetRestoreBounds(aura::Window* window, const gfx::Rect& bounds) { |
scoped_ptr<const gfx::Rect> old_bounds(GetRestoreBounds(window)); |
window->SetProperty(aura::client::kRestoreBoundsKey, new gfx::Rect(bounds)); |
@@ -46,15 +37,4 @@ |
: ui::SHOW_STATE_MAXIMIZED); |
} |
-const aura::WindowProperty<bool>* const |
- kWindowTrackedByWorkspaceSplitPropKey = &kWindowTrackedByWorkspaceSplitProp; |
- |
-void SetTrackedByWorkspace(aura::Window* window, bool value) { |
- window->SetProperty(kWindowTrackedByWorkspaceSplitPropKey, value); |
} |
- |
-bool GetTrackedByWorkspace(aura::Window* window) { |
- return window->GetProperty(kWindowTrackedByWorkspaceSplitPropKey); |
-} |
- |
-} |