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

Unified Diff: services/ui/public/cpp/compositor_frame_sink.h

Issue 2409923002: cc: Rename SwapBuffers on CompositorFrameSink to SubmitCompositorFrame (Closed)
Patch Set: swap-to-submit: rebase Created 4 years, 2 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: services/ui/public/cpp/compositor_frame_sink.h
diff --git a/services/ui/public/cpp/compositor_frame_sink.h b/services/ui/public/cpp/compositor_frame_sink.h
index 2d887a5d88a53b7e3cfa772b293a475d41346ee6..771e5354bdc2c14e4f2bdcbe8bb568514ada37d3 100644
--- a/services/ui/public/cpp/compositor_frame_sink.h
+++ b/services/ui/public/cpp/compositor_frame_sink.h
@@ -29,15 +29,13 @@ class CompositorFrameSink : public cc::CompositorFrameSink,
// cc::CompositorFrameSink implementation.
bool BindToClient(cc::CompositorFrameSinkClient* client) override;
void DetachFromClient() override;
- void SwapBuffers(cc::CompositorFrame frame) override;
+ void SubmitCompositorFrame(cc::CompositorFrame frame) override;
private:
// WindowSurfaceClient implementation:
void OnResourcesReturned(WindowSurface* surface,
const cc::ReturnedResourceArray& resources) override;
- void SwapBuffersComplete();
-
std::unique_ptr<cc::BeginFrameSource> begin_frame_source_;
std::unique_ptr<WindowSurface> surface_;
« no previous file with comments | « content/renderer/gpu/renderer_compositor_frame_sink.cc ('k') | services/ui/public/cpp/compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698