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/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "mojo/public/cpp/bindings/binding.h" | 10 #include "mojo/public/cpp/bindings/binding.h" |
11 #include "mojo/public/cpp/bindings/error_handler.h" | 11 #include "mojo/public/cpp/bindings/error_handler.h" |
12 #include "mojo/services/public/cpp/view_manager/types.h" | 12 #include "mojo/services/view_manager/public/cpp/types.h" |
13 #include "mojo/services/window_manager/public/interfaces/window_manager.mojom.h" | 13 #include "mojo/services/window_manager/public/interfaces/window_manager.mojom.h" |
14 | 14 |
15 namespace window_manager { | 15 namespace window_manager { |
16 | 16 |
17 class WindowManagerApp; | 17 class WindowManagerApp; |
18 | 18 |
19 class WindowManagerImpl : public mojo::WindowManager, | 19 class WindowManagerImpl : public mojo::WindowManager, |
20 public mojo::ErrorHandler { | 20 public mojo::ErrorHandler { |
21 public: | 21 public: |
22 // See description above |from_vm_| for details on |from_vm|. | 22 // See description above |from_vm_| for details on |from_vm|. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 const bool from_vm_; | 58 const bool from_vm_; |
59 | 59 |
60 mojo::Binding<mojo::WindowManager> binding_; | 60 mojo::Binding<mojo::WindowManager> binding_; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); | 62 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace window_manager | 65 } // namespace window_manager |
66 | 66 |
67 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_ | 67 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_ |
OLD | NEW |