| 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 ASH_MUS_USER_WINDOW_CONTROLLER_IMPL_H_ | 5 #ifndef ASH_MUS_USER_WINDOW_CONTROLLER_IMPL_H_ |
| 6 #define ASH_MUS_USER_WINDOW_CONTROLLER_IMPL_H_ | 6 #define ASH_MUS_USER_WINDOW_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "ash/public/interfaces/user_window_controller.mojom.h" | 12 #include "ash/public/interfaces/user_window_controller.mojom.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "components/mus/common/types.h" | 14 #include "services/ui/common/types.h" |
| 15 #include "components/mus/public/cpp/window_observer.h" | 15 #include "services/ui/public/cpp/window_observer.h" |
| 16 #include "components/mus/public/cpp/window_tree_client_observer.h" | 16 #include "services/ui/public/cpp/window_tree_client_observer.h" |
| 17 | 17 |
| 18 namespace ash { | 18 namespace ash { |
| 19 namespace mus { | 19 namespace mus { |
| 20 | 20 |
| 21 class RootWindowController; | 21 class RootWindowController; |
| 22 class WindowPropertyObserver; | 22 class WindowPropertyObserver; |
| 23 | 23 |
| 24 class UserWindowControllerImpl : public mojom::UserWindowController, | 24 class UserWindowControllerImpl : public mojom::UserWindowController, |
| 25 public ::mus::WindowObserver, | 25 public ::mus::WindowObserver, |
| 26 public ::mus::WindowTreeClientObserver { | 26 public ::mus::WindowTreeClientObserver { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 std::unique_ptr<WindowPropertyObserver> window_property_observer_; | 63 std::unique_ptr<WindowPropertyObserver> window_property_observer_; |
| 64 uint32_t next_id_ = 1u; | 64 uint32_t next_id_ = 1u; |
| 65 | 65 |
| 66 DISALLOW_COPY_AND_ASSIGN(UserWindowControllerImpl); | 66 DISALLOW_COPY_AND_ASSIGN(UserWindowControllerImpl); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace mus | 69 } // namespace mus |
| 70 } // namespace ash | 70 } // namespace ash |
| 71 | 71 |
| 72 #endif // ASH_MUS_USER_WINDOW_CONTROLLER_IMPL_H_ | 72 #endif // ASH_MUS_USER_WINDOW_CONTROLLER_IMPL_H_ |
| OLD | NEW |