OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_ | 5 #ifndef SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_ |
6 #define SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_ | 6 #define SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_ |
7 | 7 |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "mojo/public/cpp/bindings/binding.h" | 10 #include "mojo/public/cpp/bindings/binding.h" |
11 #include "mojo/services/view_manager/public/cpp/types.h" | 11 #include "mojo/services/view_manager/cpp/types.h" |
12 #include "mojo/services/window_manager/public/interfaces/window_manager.mojom.h" | 12 #include "mojo/services/window_manager/interfaces/window_manager.mojom.h" |
13 | 13 |
14 namespace window_manager { | 14 namespace window_manager { |
15 | 15 |
16 class WindowManagerRoot; | 16 class WindowManagerRoot; |
17 | 17 |
18 class WindowManagerImpl : public mojo::WindowManager { | 18 class WindowManagerImpl : public mojo::WindowManager { |
19 public: | 19 public: |
20 // WindowManagerImpl is fully owned by WindowManagerRoot. | 20 // WindowManagerImpl is fully owned by WindowManagerRoot. |
21 // |from_vm| is set to true when this service is connected from a view | 21 // |from_vm| is set to true when this service is connected from a view |
22 // manager. | 22 // manager. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 mojo::Binding<mojo::WindowManager> binding_; | 55 mojo::Binding<mojo::WindowManager> binding_; |
56 mojo::WindowManagerObserverPtr observer_; | 56 mojo::WindowManagerObserverPtr observer_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); | 58 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace window_manager | 61 } // namespace window_manager |
62 | 62 |
63 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_ | 63 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_ |
OLD | NEW |