| 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/ash_window_type.mojom.h" |
| 10 #include "mash/wm/public/interfaces/container.mojom.h" | 11 #include "mash/wm/public/interfaces/container.mojom.h" |
| 11 | 12 |
| 12 namespace gfx { | 13 namespace gfx { |
| 13 class Rect; | 14 class Rect; |
| 14 class Size; | 15 class Size; |
| 15 } | 16 } |
| 16 | 17 |
| 17 namespace mus { | 18 namespace mus { |
| 18 class Window; | 19 class Window; |
| 19 } | 20 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 44 void SetRestoreBounds(mus::Window* window, const gfx::Rect& bounds); | 45 void SetRestoreBounds(mus::Window* window, const gfx::Rect& bounds); |
| 45 gfx::Rect GetRestoreBounds(const mus::Window* window); | 46 gfx::Rect GetRestoreBounds(const mus::Window* window); |
| 46 | 47 |
| 47 void SetShadow(mus::Window* window, Shadow* shadow); | 48 void SetShadow(mus::Window* window, Shadow* shadow); |
| 48 Shadow* GetShadow(const mus::Window* window); | 49 Shadow* GetShadow(const mus::Window* window); |
| 49 | 50 |
| 50 mus::mojom::WindowType GetWindowType(const mus::Window* window); | 51 mus::mojom::WindowType GetWindowType(const mus::Window* window); |
| 51 mus::mojom::WindowType GetWindowType( | 52 mus::mojom::WindowType GetWindowType( |
| 52 const mus::Window::SharedProperties& window); | 53 const mus::Window::SharedProperties& window); |
| 53 | 54 |
| 55 mojom::AshWindowType GetAshWindowType(const mus::Window* window); |
| 56 |
| 54 base::string16 GetWindowTitle(const mus::Window* window); | 57 base::string16 GetWindowTitle(const mus::Window* window); |
| 55 | 58 |
| 56 mojo::Array<uint8_t> GetWindowAppIcon(const mus::Window* window); | 59 mojo::Array<uint8_t> GetWindowAppIcon(const mus::Window* window); |
| 57 | 60 |
| 58 void SetAppID(mus::Window* window, const base::string16& app_id); | 61 void SetAppID(mus::Window* window, const base::string16& app_id); |
| 59 base::string16 GetAppID(const mus::Window* window); | 62 base::string16 GetAppID(const mus::Window* window); |
| 60 | 63 |
| 61 } // namespace wm | 64 } // namespace wm |
| 62 } // namespace mash | 65 } // namespace mash |
| 63 | 66 |
| 64 #endif // MASH_WM_PROPERTY_UTIL_H_ | 67 #endif // MASH_WM_PROPERTY_UTIL_H_ |
| OLD | NEW |