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

Unified Diff: mojo/cc/output_surface_mojo.h

Issue 570623002: Revert "Compositor bindings for mojo html_viewer" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | mojo/cc/output_surface_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/cc/output_surface_mojo.h
diff --git a/mojo/cc/output_surface_mojo.h b/mojo/cc/output_surface_mojo.h
index f5b98aec9939b999f4f744b880d9c24aa8697798..fbde9315a3e7ac46f594201f197e57380706fe81 100644
--- a/mojo/cc/output_surface_mojo.h
+++ b/mojo/cc/output_surface_mojo.h
@@ -12,19 +12,12 @@
namespace mojo {
-class OutputSurfaceMojoClient {
- public:
- virtual ~OutputSurfaceMojoClient() {}
-
- virtual void DidCreateSurface(cc::SurfaceId id) = 0;
-};
-
class OutputSurfaceMojo : public cc::OutputSurface, public SurfaceClient {
public:
- OutputSurfaceMojo(OutputSurfaceMojoClient* client,
- const scoped_refptr<cc::ContextProvider>& context_provider,
+ OutputSurfaceMojo(const scoped_refptr<cc::ContextProvider>& context_provider,
SurfacePtr surface,
uint32_t id_namespace);
+ virtual ~OutputSurfaceMojo();
// SurfaceClient implementation.
virtual void ReturnResources(Array<ReturnedResourcePtr> resources) OVERRIDE;
@@ -32,11 +25,7 @@ class OutputSurfaceMojo : public cc::OutputSurface, public SurfaceClient {
// cc::OutputSurface implementation.
virtual void SwapBuffers(cc::CompositorFrame* frame) OVERRIDE;
- protected:
- virtual ~OutputSurfaceMojo();
-
private:
- OutputSurfaceMojoClient* output_surface_mojo_client_;
SurfacePtr surface_;
cc::SurfaceIdAllocator id_allocator_;
cc::SurfaceId surface_id_;
« no previous file with comments | « no previous file | mojo/cc/output_surface_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698