| 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_MUS_APP_H_ | 5 #ifndef COMPONENTS_MUS_MUS_APP_H_ |
| 6 #define COMPONENTS_MUS_MUS_APP_H_ | 6 #define COMPONENTS_MUS_MUS_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" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 mojo::ApplicationConnection* connection, | 73 mojo::ApplicationConnection* connection, |
| 74 mojo::InterfaceRequest<mojom::WindowTreeHostFactory> request) override; | 74 mojo::InterfaceRequest<mojom::WindowTreeHostFactory> request) override; |
| 75 | 75 |
| 76 // mojo::InterfaceFactory<mojom::Gpu> implementation. | 76 // mojo::InterfaceFactory<mojom::Gpu> implementation. |
| 77 void Create(mojo::ApplicationConnection* connection, | 77 void Create(mojo::ApplicationConnection* connection, |
| 78 mojo::InterfaceRequest<mojom::Gpu> request) override; | 78 mojo::InterfaceRequest<mojom::Gpu> request) override; |
| 79 | 79 |
| 80 // mojom::WindowTreeHostFactory implementation. | 80 // mojom::WindowTreeHostFactory implementation. |
| 81 void CreateWindowTreeHost(mojo::InterfaceRequest<mojom::WindowTreeHost> host, | 81 void CreateWindowTreeHost(mojo::InterfaceRequest<mojom::WindowTreeHost> host, |
| 82 mojom::WindowTreeHostClientPtr host_client, | 82 mojom::WindowTreeHostClientPtr host_client, |
| 83 mojom::WindowTreeClientPtr tree_client) override; | 83 mojom::WindowTreeClientPtr tree_client, |
| 84 mojom::WindowManagerPtr window_manager) override; |
| 84 | 85 |
| 85 mojo::WeakBindingSet<mojom::WindowTreeHostFactory> factory_bindings_; | 86 mojo::WeakBindingSet<mojom::WindowTreeHostFactory> factory_bindings_; |
| 86 mojo::ApplicationImpl* app_impl_; | 87 mojo::ApplicationImpl* app_impl_; |
| 87 scoped_ptr<ws::ConnectionManager> connection_manager_; | 88 scoped_ptr<ws::ConnectionManager> connection_manager_; |
| 88 scoped_refptr<GpuState> gpu_state_; | 89 scoped_refptr<GpuState> gpu_state_; |
| 89 scoped_ptr<ui::PlatformEventSource> event_source_; | 90 scoped_ptr<ui::PlatformEventSource> event_source_; |
| 90 | 91 |
| 91 // Surfaces | 92 // Surfaces |
| 92 scoped_refptr<SurfacesState> surfaces_state_; | 93 scoped_refptr<SurfacesState> surfaces_state_; |
| 93 | 94 |
| 94 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp); | 95 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp); |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 } // namespace mus | 98 } // namespace mus |
| 98 | 99 |
| 99 #endif // COMPONENTS_MUS_MUS_APP_H_ | 100 #endif // COMPONENTS_MUS_MUS_APP_H_ |
| OLD | NEW |