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

Unified Diff: cc/test/fake_output_surface.h

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Android Created 7 years, 7 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 f7ca21dd16d11044463c856a967efd4794f1730e..a57632332b385d091577da3f6ca31bdde6246e71 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -62,11 +62,11 @@ class FakeOutputSurface : public OutputSurface {
CompositorFrame& last_sent_frame() { return last_sent_frame_; }
size_t num_sent_frames() { return num_sent_frames_; }
- virtual void EnableVSyncNotification(bool enable) OVERRIDE;
- bool vsync_notification_enabled() const {
- return vsync_notification_enabled_;
+ virtual void SetNeedsBeginImplFrame(bool enable) OVERRIDE;
+ bool needs_begin_impl_frame() const {
+ return needs_begin_impl_frame_;
}
- void DidVSync(base::TimeTicks frame_time);
+ void BeginImplFrame(base::TimeTicks frame_time);
private:
FakeOutputSurface(
@@ -81,7 +81,7 @@ class FakeOutputSurface : public OutputSurface {
CompositorFrame last_sent_frame_;
size_t num_sent_frames_;
- bool vsync_notification_enabled_;
+ bool needs_begin_impl_frame_;
base::WeakPtrFactory<FakeOutputSurface> weak_ptr_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698