| 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 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // A property key to store ash::WindowPinType for a window. | 41 // A property key to store ash::WindowPinType for a window. |
| 42 // 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 |
| 43 // 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 |
| 44 // 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 |
| 45 // 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. |
| 46 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<mojom::WindowPinType>* const | 46 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<mojom::WindowPinType>* const |
| 47 kWindowPinTypeKey; | 47 kWindowPinTypeKey; |
| 48 | 48 |
| 49 // Alphabetical sort. | 49 // Alphabetical sort. |
| 50 | 50 |
| 51 // Registers ash window properties with the MusClient's property converter. |
| 52 // Also registers various properties for mirroring to root aura::Windows. |
| 53 // This propagates ash properties set on app aura::Windows to ash, via mojo. |
| 54 void ASH_PUBLIC_EXPORT RegisterWindowPropertiesForTransportAndMirroring(); |
| 55 |
| 51 } // namespace ash | 56 } // namespace ash |
| 52 | 57 |
| 53 #endif // ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ | 58 #endif // ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ |
| OLD | NEW |