| 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/wm/property_util.h" | 9 #include "ash/wm/property_util.h" |
| 10 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 // A property to remember the window position which was set before the | 80 // A property to remember the window position which was set before the |
| 81 // auto window position manager changed the window bounds, so that it can get | 81 // auto window position manager changed the window bounds, so that it can get |
| 82 // restored when only this one window gets shown. | 82 // restored when only this one window gets shown. |
| 83 ASH_EXPORT extern const aura::WindowProperty<gfx::Rect*>* const | 83 ASH_EXPORT extern const aura::WindowProperty<gfx::Rect*>* const |
| 84 kPreAutoManagedWindowBoundsKey; | 84 kPreAutoManagedWindowBoundsKey; |
| 85 | 85 |
| 86 // Property to tell if the container uses the screen coordinates. | 86 // Property to tell if the container uses the screen coordinates. |
| 87 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; | 87 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; |
| 88 | 88 |
| 89 // True if the window can be maximized by the workspace manager. |
| 90 extern const aura::WindowProperty<bool>* const |
| 91 kWindowCanBeMaximizedByWorkspaceKey; |
| 92 |
| 89 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const | 93 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const |
| 90 kWindowPersistsAcrossAllWorkspacesKey; | 94 kWindowPersistsAcrossAllWorkspacesKey; |
| 91 | 95 |
| 92 // A property key to remember if a windows position can be managed by the | 96 // A property key to remember if a windows position can be managed by the |
| 93 // workspace manager or not. | 97 // workspace manager or not. |
| 94 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 98 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
| 95 kWindowPositionManagedKey; | 99 kWindowPositionManagedKey; |
| 96 | 100 |
| 97 // A property key to tell the workspace layout manager to always restore the | 101 // A property key to tell the workspace layout manager to always restore the |
| 98 // window to the restore-bounds (false by default). | 102 // window to the restore-bounds (false by default). |
| 99 extern const aura::WindowProperty<bool>* const kWindowRestoresToRestoreBounds; | 103 extern const aura::WindowProperty<bool>* const kWindowRestoresToRestoreBounds; |
| 100 | 104 |
| 101 // True if the window is controlled by the workspace manager. | 105 // True if the window is controlled by the workspace manager. |
| 102 extern const aura::WindowProperty<bool>* const | 106 extern const aura::WindowProperty<bool>* const |
| 103 kWindowTrackedByWorkspaceKey; | 107 kWindowTrackedByWorkspaceKey; |
| 104 | 108 |
| 105 // Alphabetical sort. | 109 // Alphabetical sort. |
| 106 | 110 |
| 107 } // namespace internal | 111 } // namespace internal |
| 108 } // namespace ash | 112 } // namespace ash |
| 109 | 113 |
| 110 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 114 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
| OLD | NEW |