OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ash/wm/window_properties.h" | 5 #include "ash/wm/window_properties.h" |
6 | 6 |
7 #include "ash/common/wm/window_state.h" | 7 #include "ash/wm/window_state.h" |
8 | 8 |
9 DECLARE_UI_CLASS_PROPERTY_TYPE(ash::wm::WindowState*); | 9 DECLARE_UI_CLASS_PROPERTY_TYPE(ash::wm::WindowState*); |
10 DECLARE_EXPORTED_UI_CLASS_PROPERTY_TYPE(ASH_EXPORT, ash::WidgetCreationType); | 10 DECLARE_EXPORTED_UI_CLASS_PROPERTY_TYPE(ASH_EXPORT, ash::WidgetCreationType); |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 | 13 |
14 DEFINE_UI_CLASS_PROPERTY_KEY(bool, kLockedToRootKey, false); | 14 DEFINE_UI_CLASS_PROPERTY_KEY(bool, kLockedToRootKey, false); |
15 | 15 |
16 DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(gfx::Rect, kRestoreBoundsOverrideKey, NULL); | 16 DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(gfx::Rect, kRestoreBoundsOverrideKey, NULL); |
17 | 17 |
18 DEFINE_UI_CLASS_PROPERTY_KEY(ui::WindowShowState, | 18 DEFINE_UI_CLASS_PROPERTY_KEY(ui::WindowShowState, |
19 kRestoreShowStateOverrideKey, | 19 kRestoreShowStateOverrideKey, |
20 ui::SHOW_STATE_DEFAULT); | 20 ui::SHOW_STATE_DEFAULT); |
21 | 21 |
22 DEFINE_UI_CLASS_PROPERTY_KEY(ShelfID, kShelfIDKey, kInvalidShelfID); | 22 DEFINE_UI_CLASS_PROPERTY_KEY(ShelfID, kShelfIDKey, kInvalidShelfID); |
23 | 23 |
24 DEFINE_UI_CLASS_PROPERTY_KEY(bool, kSnapChildrenToPixelBoundary, false); | 24 DEFINE_UI_CLASS_PROPERTY_KEY(bool, kSnapChildrenToPixelBoundary, false); |
25 | 25 |
26 DEFINE_UI_CLASS_PROPERTY_KEY(bool, kUsesScreenCoordinatesKey, false); | 26 DEFINE_UI_CLASS_PROPERTY_KEY(bool, kUsesScreenCoordinatesKey, false); |
27 | 27 |
28 DEFINE_UI_CLASS_PROPERTY_KEY(WidgetCreationType, | 28 DEFINE_UI_CLASS_PROPERTY_KEY(WidgetCreationType, |
29 kWidgetCreationTypeKey, | 29 kWidgetCreationTypeKey, |
30 WidgetCreationType::INTERNAL); | 30 WidgetCreationType::INTERNAL); |
31 | 31 |
32 DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(ash::wm::WindowState, kWindowStateKey, NULL); | 32 DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(ash::wm::WindowState, kWindowStateKey, NULL); |
33 | 33 |
34 } // namespace ash | 34 } // namespace ash |
OLD | NEW |