OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 MASH_WM_PROPERTY_UTIL_H_ | 5 #ifndef MASH_WM_PROPERTY_UTIL_H_ |
6 #define MASH_WM_PROPERTY_UTIL_H_ | 6 #define MASH_WM_PROPERTY_UTIL_H_ |
7 | 7 |
8 #include "components/mus/public/cpp/window.h" | 8 #include "components/mus/public/cpp/window.h" |
9 #include "components/mus/public/interfaces/window_manager_constants.mojom.h" | 9 #include "components/mus/public/interfaces/window_manager_constants.mojom.h" |
10 #include "mash/wm/public/interfaces/container.mojom.h" | 10 #include "mash/wm/public/interfaces/container.mojom.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 Shadow* GetShadow(const mus::Window* window); | 48 Shadow* GetShadow(const mus::Window* window); |
49 | 49 |
50 mus::mojom::WindowType GetWindowType(const mus::Window* window); | 50 mus::mojom::WindowType GetWindowType(const mus::Window* window); |
51 mus::mojom::WindowType GetWindowType( | 51 mus::mojom::WindowType GetWindowType( |
52 const mus::Window::SharedProperties& window); | 52 const mus::Window::SharedProperties& window); |
53 | 53 |
54 base::string16 GetWindowTitle(const mus::Window* window); | 54 base::string16 GetWindowTitle(const mus::Window* window); |
55 | 55 |
56 mojo::Array<uint8_t> GetWindowAppIcon(const mus::Window* window); | 56 mojo::Array<uint8_t> GetWindowAppIcon(const mus::Window* window); |
57 | 57 |
| 58 void SetAppID(mus::Window* window, const base::string16& app_id); |
| 59 base::string16 GetAppID(const mus::Window* window); |
| 60 |
58 } // namespace wm | 61 } // namespace wm |
59 } // namespace mash | 62 } // namespace mash |
60 | 63 |
61 #endif // MASH_WM_PROPERTY_UTIL_H_ | 64 #endif // MASH_WM_PROPERTY_UTIL_H_ |
OLD | NEW |