Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: components/mus/mus_app.h

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/main.cc ('k') | components/mus/mus_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/mus_app.h
diff --git a/components/mus/mus_app.h b/components/mus/mus_app.h
deleted file mode 100644
index db528e1b7cfe94bbdbf29edf6c729791c978d051..0000000000000000000000000000000000000000
--- a/components/mus/mus_app.h
+++ /dev/null
@@ -1,100 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_MUS_VIEW_MANAGER_APP_H_
-#define COMPONENTS_MUS_VIEW_MANAGER_APP_H_
-
-#include <set>
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/surfaces/surface_manager.h"
-#include "components/mus/connection_manager_delegate.h"
-#include "components/mus/public/interfaces/gpu.mojom.h"
-#include "components/mus/public/interfaces/view_tree.mojom.h"
-#include "components/mus/public/interfaces/view_tree_host.mojom.h"
-#include "mojo/application/public/cpp/app_lifetime_helper.h"
-#include "mojo/application/public/cpp/application_delegate.h"
-#include "mojo/application/public/cpp/interface_factory.h"
-#include "mojo/common/tracing_impl.h"
-#include "mojo/common/weak_binding_set.h"
-
-namespace mojo {
-class ApplicationImpl;
-}
-
-namespace ui {
-class PlatformEventSource;
-}
-
-namespace mus {
-
-class ConnectionManager;
-class GpuState;
-class SurfacesScheduler;
-class SurfacesState;
-
-class MandolineUIServicesApp
- : public mojo::ApplicationDelegate,
- public ConnectionManagerDelegate,
- public mojo::InterfaceFactory<mojo::ViewTreeHostFactory>,
- public mojo::InterfaceFactory<mojo::Gpu>,
- public mojo::ViewTreeHostFactory {
- public:
- MandolineUIServicesApp();
- ~MandolineUIServicesApp() override;
-
- private:
- // ApplicationDelegate:
- void Initialize(mojo::ApplicationImpl* app) override;
- bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override;
-
- // ConnectionManagerDelegate:
- void OnNoMoreRootConnections() override;
- ClientConnection* CreateClientConnectionForEmbedAtView(
- ConnectionManager* connection_manager,
- mojo::InterfaceRequest<mojo::ViewTree> tree_request,
- 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,
- ConnectionSpecificId creator_id,
- const ViewId& root_id,
- uint32_t policy_bitmask,
- mojo::ViewTreeClientPtr client) override;
-
- // mojo::InterfaceFactory<mojo::ViewTreeHostFactory>:
- void Create(
- mojo::ApplicationConnection* connection,
- mojo::InterfaceRequest<mojo::ViewTreeHostFactory> request) override;
-
- // mojo::InterfaceFactory<mojo::Gpu> implementation.
- void Create(mojo::ApplicationConnection* connection,
- mojo::InterfaceRequest<mojo::Gpu> request) override;
-
- // mojo::ViewTreeHostFactory implementation.
- void CreateViewTreeHost(mojo::InterfaceRequest<mojo::ViewTreeHost> host,
- mojo::ViewTreeHostClientPtr host_client,
- mojo::ViewTreeClientPtr tree_client) override;
-
- mojo::WeakBindingSet<mojo::ViewTreeHostFactory> factory_bindings_;
- mojo::ApplicationImpl* app_impl_;
- scoped_ptr<ConnectionManager> connection_manager_;
- mojo::TracingImpl tracing_;
- scoped_refptr<GpuState> gpu_state_;
- scoped_ptr<ui::PlatformEventSource> event_source_;
- bool is_headless_;
-
- // Surfaces
- scoped_refptr<SurfacesState> surfaces_state_;
-
- DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp);
-};
-
-} // namespace mus
-
-#endif // COMPONENTS_MUS_VIEW_MANAGER_APP_H_
« no previous file with comments | « components/mus/main.cc ('k') | components/mus/mus_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698