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

Unified Diff: content/renderer/android/synchronous_compositor_frame_sink.h

Issue 2349743004: cc: Remove things from OutputSurface and CompositorFrameSink. (Closed)
Patch Set: delete-stuff-cfs: comment-and-rebase Created 4 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
Index: content/renderer/android/synchronous_compositor_frame_sink.h
diff --git a/content/renderer/android/synchronous_compositor_frame_sink.h b/content/renderer/android/synchronous_compositor_frame_sink.h
index 7a9b47ffa6592af78c983d3261bac7a52f6f42c6..74ad9281b8eff116962cdb87ec4fcac59d0f36d9 100644
--- a/content/renderer/android/synchronous_compositor_frame_sink.h
+++ b/content/renderer/android/synchronous_compositor_frame_sink.h
@@ -23,6 +23,8 @@
#include "ipc/ipc_message.h"
#include "ui/gfx/transform.h"
+class SkCanvas;
+
namespace cc {
class ContextProvider;
class CompositorFrameMetadata;
@@ -82,14 +84,8 @@ class SynchronousCompositorFrameSink
// cc::CompositorFrameSink implementation.
bool BindToClient(cc::CompositorFrameSinkClient* sink_client) override;
void DetachFromClient() override;
- void Reshape(const gfx::Size& size,
- float scale_factor,
- const gfx::ColorSpace& color_space,
- bool has_alpha) override;
void SwapBuffers(cc::CompositorFrame frame) override;
void Invalidate() override;
- void BindFramebuffer() override;
- uint32_t GetFramebufferCopyTextureFormat() override;
// Partial SynchronousCompositor API implementation.
void DemandDrawHw(const gfx::Size& viewport_size,

Powered by Google App Engine
This is Rietveld 408576698