1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ash/wm/window_properties.h"
7 #include "ash/wm/window_state.h"
8 #include "ui/aura/window_property.h"
10 DECLARE_WINDOW_PROPERTY_TYPE(ash::wm::WindowState
*);
14 DEFINE_OWNED_WINDOW_PROPERTY_KEY(gfx::Rect
,
15 kRestoreBoundsOverrideKey
,
18 DEFINE_WINDOW_PROPERTY_KEY(ui::WindowShowState
,
19 kRestoreShowStateOverrideKey
,
20 ui::SHOW_STATE_DEFAULT
);
22 DEFINE_WINDOW_PROPERTY_KEY(bool, kSnapChildrenToPixelBoundary
, false);
24 DEFINE_WINDOW_PROPERTY_KEY(bool, kStayInSameRootWindowKey
, false);
26 DEFINE_WINDOW_PROPERTY_KEY(bool, kUsesScreenCoordinatesKey
, false);
28 DEFINE_OWNED_WINDOW_PROPERTY_KEY(wm::WindowState
,
29 kWindowStateKey
, NULL
);