Index: components/mus/mus_app.h |
diff --git a/components/mus/view_manager_app.h b/components/mus/mus_app.h |
similarity index 79% |
rename from components/mus/view_manager_app.h |
rename to components/mus/mus_app.h |
index 3f65f5144681bdc2f8ee1523e6be293b3db2f21e..db528e1b7cfe94bbdbf29edf6c729791c978d051 100644 |
--- a/components/mus/view_manager_app.h |
+++ b/components/mus/mus_app.h |
@@ -19,35 +19,30 @@ |
#include "mojo/common/tracing_impl.h" |
#include "mojo/common/weak_binding_set.h" |
-namespace gles2 { |
-class GpuState; |
-} |
- |
namespace mojo { |
class ApplicationImpl; |
} |
-namespace surfaces { |
-class SurfacesScheduler; |
-class SurfacesState; |
-} |
- |
namespace ui { |
class PlatformEventSource; |
} |
-namespace view_manager { |
+namespace mus { |
class ConnectionManager; |
+class GpuState; |
+class SurfacesScheduler; |
+class SurfacesState; |
-class ViewManagerApp : public mojo::ApplicationDelegate, |
- public ConnectionManagerDelegate, |
- public mojo::InterfaceFactory<mojo::ViewTreeHostFactory>, |
- public mojo::InterfaceFactory<mojo::Gpu>, |
- public mojo::ViewTreeHostFactory { |
+class MandolineUIServicesApp |
+ : public mojo::ApplicationDelegate, |
+ public ConnectionManagerDelegate, |
+ public mojo::InterfaceFactory<mojo::ViewTreeHostFactory>, |
+ public mojo::InterfaceFactory<mojo::Gpu>, |
+ public mojo::ViewTreeHostFactory { |
public: |
- ViewManagerApp(); |
- ~ViewManagerApp() override; |
+ MandolineUIServicesApp(); |
+ ~MandolineUIServicesApp() override; |
private: |
// ApplicationDelegate: |
@@ -60,14 +55,14 @@ class ViewManagerApp : public mojo::ApplicationDelegate, |
ClientConnection* CreateClientConnectionForEmbedAtView( |
ConnectionManager* connection_manager, |
mojo::InterfaceRequest<mojo::ViewTree> tree_request, |
- mojo::ConnectionSpecificId creator_id, |
+ ConnectionSpecificId creator_id, |
mojo::URLRequestPtr request, |
const ViewId& root_id, |
uint32_t policy_bitmask) override; |
ClientConnection* CreateClientConnectionForEmbedAtView( |
ConnectionManager* connection_manager, |
mojo::InterfaceRequest<mojo::ViewTree> tree_request, |
- mojo::ConnectionSpecificId creator_id, |
+ ConnectionSpecificId creator_id, |
const ViewId& root_id, |
uint32_t policy_bitmask, |
mojo::ViewTreeClientPtr client) override; |
@@ -90,16 +85,16 @@ class ViewManagerApp : public mojo::ApplicationDelegate, |
mojo::ApplicationImpl* app_impl_; |
scoped_ptr<ConnectionManager> connection_manager_; |
mojo::TracingImpl tracing_; |
- scoped_refptr<gles2::GpuState> gpu_state_; |
+ scoped_refptr<GpuState> gpu_state_; |
scoped_ptr<ui::PlatformEventSource> event_source_; |
bool is_headless_; |
// Surfaces |
- scoped_refptr<surfaces::SurfacesState> surfaces_state_; |
+ scoped_refptr<SurfacesState> surfaces_state_; |
- DISALLOW_COPY_AND_ASSIGN(ViewManagerApp); |
+ DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp); |
}; |
-} // namespace view_manager |
+} // namespace mus |
#endif // COMPONENTS_MUS_VIEW_MANAGER_APP_H_ |