| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_AURA_MUS_PROPERTY_UTILS_H_ |
| 6 #define UI_AURA_MUS_PROPERTY_UTILS_H_ |
| 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "ui/aura/aura_export.h" |
| 11 |
| 12 namespace ui { |
| 13 namespace mojom { |
| 14 enum class WindowType; |
| 15 } |
| 16 } |
| 17 |
| 18 namespace aura { |
| 19 |
| 20 class Window; |
| 21 |
| 22 // Configures the two window type properties on |window|. Specifically this |
| 23 // sets the property client::kWindowTypeKey as well as calling SetType(). |
| 24 // This *must* be called before Init(). |
| 25 AURA_EXPORT void SetWindowType(Window* window, |
| 26 ui::mojom::WindowType window_type); |
| 27 |
| 28 } // namespace aura |
| 29 |
| 30 #endif // UI_AURA_MUS_PROPERTY_UTILS_H_ |
| OLD | NEW |