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

Unified Diff: services/surfaces/surfaces_service_application.h

Issue 807733002: Split surface id and simplify connecting to surfaces service (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
Index: services/surfaces/surfaces_service_application.h
diff --git a/services/surfaces/surfaces_service_application.h b/services/surfaces/surfaces_service_application.h
index 04b33dd6484887e3e0011b47f9a7c0caf71320a2..e1ff43562a7ec09f22dd2f03398ad7901ace02af 100644
--- a/services/surfaces/surfaces_service_application.h
+++ b/services/surfaces/surfaces_service_application.h
@@ -23,6 +23,7 @@ namespace surfaces {
class SurfacesServiceApplication
: public mojo::ApplicationDelegate,
public mojo::InterfaceFactory<mojo::SurfacesService>,
+ public mojo::InterfaceFactory<mojo::Surface>,
public SurfacesImpl::Client,
public SurfacesScheduler::Client {
public:
@@ -34,10 +35,14 @@ class SurfacesServiceApplication
bool ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) override;
- // InterfaceFactory<SurfacsServicee> implementation.
+ // InterfaceFactory<SurfacesServicee> implementation.
void Create(mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<mojo::SurfacesService> request) override;
+ // InterfaceFactory<Surface> implementation.
+ void Create(mojo::ApplicationConnection* connection,
+ mojo::InterfaceRequest<mojo::Surface> request) override;
+
// SurfacesImpl::Client implementation.
void OnVSyncParametersUpdated(base::TimeTicks timebase,
base::TimeDelta interval) override;

Powered by Google App Engine
This is Rietveld 408576698