Index: mojo/services/surfaces/surfaces_service_application.h |
diff --git a/mojo/services/surfaces/surfaces_service_application.h b/mojo/services/surfaces/surfaces_service_application.h |
index ac6820dc400a6a323de5ba89d15d57fc9360757e..896ac68f49a12b951ff4eebf9520ed28a4484b28 100644 |
--- a/mojo/services/surfaces/surfaces_service_application.h |
+++ b/mojo/services/surfaces/surfaces_service_application.h |
@@ -14,9 +14,11 @@ namespace mojo { |
class ApplicationConnection; |
namespace surfaces { |
+class Surfaces; |
darin (slow to review)
2014/07/15 06:10:38
nit: looks like this forward decl isn't needed.
|
class SurfacesServiceApplication : public ApplicationDelegate, |
- public SurfacesImpl::Context { |
+ public InterfaceFactory<Surface>, |
+ public SurfacesImpl::Client { |
public: |
SurfacesServiceApplication(); |
virtual ~SurfacesServiceApplication(); |
@@ -25,9 +27,11 @@ class SurfacesServiceApplication : public ApplicationDelegate, |
virtual bool ConfigureIncomingConnection( |
ApplicationConnection* connection) OVERRIDE; |
- // SurfacesImpl::Context implementation. |
- virtual cc::SurfaceManager* Manager() OVERRIDE; |
- virtual uint32_t IdNamespace() OVERRIDE; |
+ // InterfaceFactory<Surface> implementation. |
+ virtual void Create(ApplicationConnection* connection, |
+ InterfaceRequest<Surface> request) OVERRIDE; |
+ |
+ // SurfacesImpl::Client implementation. |
virtual void FrameSubmitted() OVERRIDE; |
virtual void SetDisplay(cc::Display*) OVERRIDE; |