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

Unified Diff: cc/output/output_surface.h

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « cc/input/input_handler.h ('k') | cc/output/output_surface_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index 0be2e3bd33ac7f5b6cc66cb98c3b5ab57f3b749d..22ce6af02f8b4e1700971c34369132a3d001a73e 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -98,10 +98,10 @@ class CC_EXPORT OutputSurface {
// processing should be stopped, or lowered in priority.
virtual void UpdateSmoothnessTakesPriority(bool prefer_smoothness) {}
- // Requests a vsync notification from the output surface. The notification
- // will be delivered by calling OutputSurfaceClient::DidVSync for all future
- // vsync events until the callback is disabled.
- virtual void EnableVSyncNotification(bool enable_vsync) {}
+ // Requests a BeginFrame notification from the output surface. The
+ // notification will be delivered by calling
+ // OutputSurfaceClient::BeginFrame until the callback is disabled.
+ virtual void SetNeedsBeginFrame(bool enable) {}
protected:
OutputSurfaceClient* client_;
« no previous file with comments | « cc/input/input_handler.h ('k') | cc/output/output_surface_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698