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

Unified Diff: cc/test/fake_output_surface.h

Issue 16304003: Unified OutputSurface::SwapBuffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SynchronousCompositorOutputSurface::DemandDrawSw Created 7 years, 6 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: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index 7460f93b1baa29baa6bbf5cab9251c820ce239bc..fc735080b87941cd7c7a9a47d938647855226af4 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -66,11 +66,11 @@ class FakeOutputSurface : public OutputSurface {
return result.Pass();
}
- virtual void SendFrameToParentCompositor(CompositorFrame* frame) OVERRIDE;
-
CompositorFrame& last_sent_frame() { return last_sent_frame_; }
size_t num_sent_frames() { return num_sent_frames_; }
+ virtual void SwapBuffers(CompositorFrame* frame) OVERRIDE;
+
virtual void SetNeedsBeginFrame(bool enable) OVERRIDE;
bool needs_begin_frame() const {
return needs_begin_frame_;
@@ -85,16 +85,16 @@ class FakeOutputSurface : public OutputSurface {
protected:
FakeOutputSurface(
scoped_ptr<WebKit::WebGraphicsContext3D> context3d,
- bool has_parent);
+ bool delegated_rendering);
FakeOutputSurface(
scoped_ptr<SoftwareOutputDevice> software_device,
- bool has_parent);
+ bool delegated_rendering);
FakeOutputSurface(
scoped_ptr<WebKit::WebGraphicsContext3D> context3d,
scoped_ptr<SoftwareOutputDevice> software_device,
- bool has_parent);
+ bool delegated_rendering);
void SendFrameAck();

Powered by Google App Engine
This is Rietveld 408576698