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

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 test compiler errors 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..2ac236cbb211966ae37ac12f3039f70f1c37e9bf 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 EnableBeginFrameNotification(bool enable) OVERRIDE;
+ bool begin_frame_notification_enabled() const {
+ return begin_frame_notification_enabled_;
}
- void DidVSync(base::TimeTicks frame_time);
+ void BeginFrame(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 begin_frame_notification_enabled_;
base::WeakPtrFactory<FakeOutputSurface> weak_ptr_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698