Chromium Code Reviews| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 91 | 91 |
| 92 // A property key to remember if a windows position can be managed by the | 92 // A property key to remember if a windows position can be managed by the |
| 93 // workspace manager or not. | 93 // workspace manager or not. |
| 94 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 94 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
| 95 kWindowPositionManagedKey; | 95 kWindowPositionManagedKey; |
| 96 | 96 |
| 97 // A property key to tell the workspace layout manager to always restore the | 97 // A property key to tell the workspace layout manager to always restore the |
| 98 // window to the restore-bounds (false by default). | 98 // window to the restore-bounds (false by default). |
| 99 extern const aura::WindowProperty<bool>* const kWindowRestoresToRestoreBounds; | 99 extern const aura::WindowProperty<bool>* const kWindowRestoresToRestoreBounds; |
| 100 | 100 |
| 101 // A bitmask containing the workspace edges that the window is stuck to. | |
|
flackr
2013/05/01 17:34:04
I don't think we'll have any useful behaviors for
varkha
2013/05/18 03:06:37
I am not sure. When the gutter appears, say on the
flackr
2013/05/22 02:00:56
For now, I think a window touching a gutter should
| |
| 102 extern const aura::WindowProperty<int>* const kWindowStuckToEdge; | |
| 103 | |
| 101 // True if the window is controlled by the workspace manager. | 104 // True if the window is controlled by the workspace manager. |
| 102 extern const aura::WindowProperty<bool>* const | 105 extern const aura::WindowProperty<bool>* const kWindowTrackedByWorkspaceKey; |
| 103 kWindowTrackedByWorkspaceKey; | |
| 104 | 106 |
| 105 // Alphabetical sort. | 107 // Alphabetical sort. |
| 106 | 108 |
| 107 } // namespace internal | 109 } // namespace internal |
| 108 } // namespace ash | 110 } // namespace ash |
| 109 | 111 |
| 110 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 112 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
| OLD | NEW |