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

Unified Diff: components/view_manager/view_manager_app.h

Issue 1281663002: Mandoline: Allow submitting CompositorFrames directly to mojo::Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 4 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/view_manager/test_server_view_delegate.cc ('k') | components/view_manager/view_manager_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/view_manager_app.h
diff --git a/components/view_manager/view_manager_app.h b/components/view_manager/view_manager_app.h
index c8bd7fbc654728a1771d5e17ea03ca8f3007634c..fbdc7ae7b9d8bf3fd28a4a0b94547da031b155cc 100644
--- a/components/view_manager/view_manager_app.h
+++ b/components/view_manager/view_manager_app.h
@@ -11,10 +11,8 @@
#include "cc/surfaces/surface_manager.h"
#include "components/view_manager/connection_manager_delegate.h"
#include "components/view_manager/public/interfaces/gpu.mojom.h"
-#include "components/view_manager/public/interfaces/surfaces.mojom.h"
#include "components/view_manager/public/interfaces/view_tree.mojom.h"
#include "components/view_manager/public/interfaces/view_tree_host.mojom.h"
-#include "components/view_manager/surfaces/surfaces_delegate.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"
@@ -30,8 +28,6 @@ class ApplicationImpl;
}
namespace surfaces {
-class DisplayImpl;
-class SurfacesImpl;
class SurfacesScheduler;
class SurfacesState;
}
@@ -46,10 +42,8 @@ class ConnectionManager;
class ViewManagerApp : public mojo::ApplicationDelegate,
public ConnectionManagerDelegate,
- public mojo::InterfaceFactory<mojo::Surface>,
public mojo::InterfaceFactory<mojo::ViewTreeHostFactory>,
public mojo::InterfaceFactory<mojo::Gpu>,
- public surfaces::SurfacesDelegate,
public mojo::ViewTreeHostFactory {
public:
ViewManagerApp();
@@ -85,13 +79,6 @@ class ViewManagerApp : public mojo::ApplicationDelegate,
void Create(mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<mojo::Gpu> request) override;
- // InterfaceFactory<Surface> implementation.
- void Create(mojo::ApplicationConnection* connection,
- mojo::InterfaceRequest<mojo::Surface> request) override;
-
- // SurfacesDelegat implementation.
- void OnSurfaceConnectionClosed(surfaces::SurfacesImpl* surface) override;
-
// mojo::ViewTreeHostFactory implementation.
void CreateViewTreeHost(mojo::InterfaceRequest<mojo::ViewTreeHost> host,
mojo::ViewTreeHostClientPtr host_client,
@@ -106,7 +93,6 @@ class ViewManagerApp : public mojo::ApplicationDelegate,
bool is_headless_;
// Surfaces
- std::set<surfaces::SurfacesImpl*> surfaces_;
scoped_refptr<surfaces::SurfacesState> surfaces_state_;
DISALLOW_COPY_AND_ASSIGN(ViewManagerApp);
« no previous file with comments | « components/view_manager/test_server_view_delegate.cc ('k') | components/view_manager/view_manager_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698