| 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 COMPONENTS_MUS_VIEW_MANAGER_APP_H_ | 5 #ifndef COMPONENTS_MUS_VIEW_MANAGER_APP_H_ |
| 6 #define COMPONENTS_MUS_VIEW_MANAGER_APP_H_ | 6 #define COMPONENTS_MUS_VIEW_MANAGER_APP_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "cc/surfaces/surface_manager.h" | |
| 12 #include "components/mus/connection_manager_delegate.h" | |
| 13 #include "components/mus/public/interfaces/gpu.mojom.h" | 11 #include "components/mus/public/interfaces/gpu.mojom.h" |
| 14 #include "components/mus/public/interfaces/view_tree.mojom.h" | 12 #include "components/mus/public/interfaces/view_tree.mojom.h" |
| 15 #include "components/mus/public/interfaces/view_tree_host.mojom.h" | 13 #include "components/mus/public/interfaces/view_tree_host.mojom.h" |
| 14 #include "components/mus/vm/connection_manager_delegate.h" |
| 16 #include "mojo/application/public/cpp/app_lifetime_helper.h" | 15 #include "mojo/application/public/cpp/app_lifetime_helper.h" |
| 17 #include "mojo/application/public/cpp/application_delegate.h" | 16 #include "mojo/application/public/cpp/application_delegate.h" |
| 18 #include "mojo/application/public/cpp/interface_factory.h" | 17 #include "mojo/application/public/cpp/interface_factory.h" |
| 19 #include "mojo/common/tracing_impl.h" | 18 #include "mojo/common/tracing_impl.h" |
| 20 #include "mojo/common/weak_binding_set.h" | 19 #include "mojo/common/weak_binding_set.h" |
| 21 | 20 |
| 22 namespace mojo { | 21 namespace mojo { |
| 23 class ApplicationImpl; | 22 class ApplicationImpl; |
| 24 } | 23 } |
| 25 | 24 |
| 26 namespace ui { | 25 namespace ui { |
| 27 class PlatformEventSource; | 26 class PlatformEventSource; |
| 28 } | 27 } |
| 29 | 28 |
| 30 namespace mus { | 29 namespace mus { |
| 31 | 30 |
| 32 class ConnectionManager; | 31 class ConnectionManager; |
| 33 class GpuState; | 32 class GpuState; |
| 34 class SurfacesScheduler; | |
| 35 class SurfacesState; | 33 class SurfacesState; |
| 36 | 34 |
| 37 class MandolineUIServicesApp | 35 class MandolineUIServicesApp |
| 38 : public mojo::ApplicationDelegate, | 36 : public mojo::ApplicationDelegate, |
| 39 public ConnectionManagerDelegate, | 37 public ConnectionManagerDelegate, |
| 40 public mojo::InterfaceFactory<mojo::ViewTreeHostFactory>, | 38 public mojo::InterfaceFactory<mojo::ViewTreeHostFactory>, |
| 41 public mojo::InterfaceFactory<mojo::Gpu>, | 39 public mojo::InterfaceFactory<mojo::Gpu>, |
| 42 public mojo::ViewTreeHostFactory { | 40 public mojo::ViewTreeHostFactory { |
| 43 public: | 41 public: |
| 44 MandolineUIServicesApp(); | 42 MandolineUIServicesApp(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 88 |
| 91 // Surfaces | 89 // Surfaces |
| 92 scoped_refptr<SurfacesState> surfaces_state_; | 90 scoped_refptr<SurfacesState> surfaces_state_; |
| 93 | 91 |
| 94 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp); | 92 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp); |
| 95 }; | 93 }; |
| 96 | 94 |
| 97 } // namespace mus | 95 } // namespace mus |
| 98 | 96 |
| 99 #endif // COMPONENTS_MUS_VIEW_MANAGER_APP_H_ | 97 #endif // COMPONENTS_MUS_VIEW_MANAGER_APP_H_ |
| OLD | NEW |