| 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 #ifndef ASH_WM_WINDOW_PROPERTIES_H_ | 5 #ifndef ASH_WM_WINDOW_PROPERTIES_H_ |
| 6 #define ASH_WM_WINDOW_PROPERTIES_H_ | 6 #define ASH_WM_WINDOW_PROPERTIES_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/shelf/shelf_item_types.h" | 9 #include "ash/common/shelf/shelf_item_types.h" |
| 10 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 // maximized mode window manager. | 36 // maximized mode window manager. |
| 37 ASH_EXPORT extern const aura::WindowProperty<gfx::Rect*>* const | 37 ASH_EXPORT extern const aura::WindowProperty<gfx::Rect*>* const |
| 38 kRestoreBoundsOverrideKey; | 38 kRestoreBoundsOverrideKey; |
| 39 | 39 |
| 40 // A property key which stores the bounds to restore a window to. These take | 40 // A property key which stores the bounds to restore a window to. These take |
| 41 // preference over the current bounds/state if |kRestoreBoundsOverrideKey| is | 41 // preference over the current bounds/state if |kRestoreBoundsOverrideKey| is |
| 42 // set. This is used by e.g. the always maximized mode window manager. | 42 // set. This is used by e.g. the always maximized mode window manager. |
| 43 ASH_EXPORT extern const aura::WindowProperty<ui::WindowShowState>* const | 43 ASH_EXPORT extern const aura::WindowProperty<ui::WindowShowState>* const |
| 44 kRestoreShowStateOverrideKey; | 44 kRestoreShowStateOverrideKey; |
| 45 | 45 |
| 46 // A property key to store the icon resource id for a window's shelf item. | |
| 47 ASH_EXPORT extern const aura::WindowProperty<int>* const | |
| 48 kShelfIconResourceIdKey; | |
| 49 | |
| 50 // A property key to store the id for a window's shelf item. | 46 // A property key to store the id for a window's shelf item. |
| 51 ASH_EXPORT extern const aura::WindowProperty<ShelfID>* const kShelfIDKey; | 47 ASH_EXPORT extern const aura::WindowProperty<ShelfID>* const kShelfIDKey; |
| 52 | 48 |
| 53 // A property key to store the type of a window's shelf item. | 49 // A property key to store the type of a window's shelf item. |
| 54 ASH_EXPORT extern const aura::WindowProperty<int>* const kShelfItemTypeKey; | 50 ASH_EXPORT extern const aura::WindowProperty<int>* const kShelfItemTypeKey; |
| 55 | 51 |
| 56 // Containers with this property (true) are aligned with physical pixel | 52 // Containers with this property (true) are aligned with physical pixel |
| 57 // boundary. | 53 // boundary. |
| 58 extern const aura::WindowProperty<bool>* const kSnapChildrenToPixelBoundary; | 54 extern const aura::WindowProperty<bool>* const kSnapChildrenToPixelBoundary; |
| 59 | 55 |
| 60 // Property to tell if the container uses the screen coordinates. | 56 // Property to tell if the container uses the screen coordinates. |
| 61 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; | 57 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; |
| 62 | 58 |
| 63 // A property key to store WindowState in the window. The window state | 59 // A property key to store WindowState in the window. The window state |
| 64 // is owned by the window. | 60 // is owned by the window. |
| 65 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey; | 61 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey; |
| 66 | 62 |
| 67 // Alphabetical sort. | 63 // Alphabetical sort. |
| 68 | 64 |
| 69 } // namespace ash | 65 } // namespace ash |
| 70 | 66 |
| 71 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 67 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
| OLD | NEW |