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 MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "mojo/public/cpp/bindings/strong_binding.h" | 12 #include "mojo/public/cpp/bindings/strong_binding.h" |
13 #include "mojo/services/view_manager/public/cpp/types.h" | 13 #include "view_manager/public/cpp/types.h" |
14 #include "mojo/services/view_manager/public/cpp/view.h" | 14 #include "view_manager/public/cpp/view.h" |
15 #include "mojo/services/view_manager/public/cpp/view_manager.h" | 15 #include "view_manager/public/cpp/view_manager.h" |
16 #include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h" | 16 #include "view_manager/public/interfaces/view_manager.mojom.h" |
17 #include "mojo/services/window_manager/public/interfaces/window_manager.mojom.h" | 17 #include "window_manager/public/interfaces/window_manager.mojom.h" |
18 | 18 |
19 namespace mojo { | 19 namespace mojo { |
20 class Shell; | 20 class Shell; |
21 class ViewManager; | 21 class ViewManager; |
22 class ViewManagerDelegate; | 22 class ViewManagerDelegate; |
23 class ViewManagerTransaction; | 23 class ViewManagerTransaction; |
24 | 24 |
25 // Manages the connection with the View Manager service. | 25 // Manages the connection with the View Manager service. |
26 class ViewManagerClientImpl : public ViewManager, | 26 class ViewManagerClientImpl : public ViewManager, |
27 public ViewManagerClient, | 27 public ViewManagerClient, |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 Binding<ViewManagerClient> binding_; | 163 Binding<ViewManagerClient> binding_; |
164 ViewManagerService* service_; | 164 ViewManagerService* service_; |
165 const bool delete_on_error_; | 165 const bool delete_on_error_; |
166 | 166 |
167 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); | 167 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); |
168 }; | 168 }; |
169 | 169 |
170 } // namespace mojo | 170 } // namespace mojo |
171 | 171 |
172 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 172 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
OLD | NEW |