| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_PUBLIC_CPP_WINDOW_PROPERTIES_H_ | 5 #ifndef ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ |
| 6 #define ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ | 6 #define ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "ash/public/cpp/ash_public_export.h" | 10 #include "ash/public/cpp/ash_public_export.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 } | 23 } |
| 24 | 24 |
| 25 // Shell-specific window property keys for use by ash and its clients. | 25 // Shell-specific window property keys for use by ash and its clients. |
| 26 | 26 |
| 27 // Alphabetical sort. | 27 // Alphabetical sort. |
| 28 | 28 |
| 29 // If true (and the window is a panel), it's attached to its shelf item. | 29 // If true (and the window is a panel), it's attached to its shelf item. |
| 30 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<bool>* const | 30 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<bool>* const |
| 31 kPanelAttachedKey; | 31 kPanelAttachedKey; |
| 32 | 32 |
| 33 // A property key to store the id for a window's shelf item. |
| 34 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<ShelfID*>* const |
| 35 kShelfIDKey; |
| 36 |
| 33 // A property key to store the type of a window's shelf item. | 37 // A property key to store the type of a window's shelf item. |
| 34 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<int32_t>* const | 38 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<int32_t>* const |
| 35 kShelfItemTypeKey; | 39 kShelfItemTypeKey; |
| 36 | 40 |
| 37 // A property key to store ash::WindowPinType for a window. | 41 // A property key to store ash::WindowPinType for a window. |
| 38 // When setting this property to PINNED or TRUSTED_PINNED, the window manager | 42 // When setting this property to PINNED or TRUSTED_PINNED, the window manager |
| 39 // will try to fullscreen the window and pin it on the top of the screen. If the | 43 // will try to fullscreen the window and pin it on the top of the screen. If the |
| 40 // window manager failed to do it, the property will be restored to NONE. When | 44 // window manager failed to do it, the property will be restored to NONE. When |
| 41 // setting this property to NONE, the window manager will restore the window. | 45 // setting this property to NONE, the window manager will restore the window. |
| 42 ASH_PUBLIC_EXPORT extern const aura::WindowProperty< | 46 ASH_PUBLIC_EXPORT extern const aura::WindowProperty< |
| 43 ash::mojom::WindowPinType>* const kWindowPinTypeKey; | 47 ash::mojom::WindowPinType>* const kWindowPinTypeKey; |
| 44 | 48 |
| 45 // Alphabetical sort. | 49 // Alphabetical sort. |
| 46 | 50 |
| 47 } // namespace ash | 51 } // namespace ash |
| 48 | 52 |
| 49 #endif // ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ | 53 #endif // ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ |
| OLD | NEW |