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

Unified Diff: cc/trees/layer_tree_host_impl.cc

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/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index c9db433d91aa99a413aaefddfdaa2b49e105c580..9a98e80262acc1f15e19462072c8ac97facaa099 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -368,9 +368,9 @@ bool LayerTreeHostImpl::HaveTouchEventHandlersAt(gfx::Point viewport_point) {
return false;
}
-void LayerTreeHostImpl::DidReceiveLastInputEventForVSync(
+void LayerTreeHostImpl::DidReceiveLastInputEventForBeginFrame(
base::TimeTicks frame_time) {
- client_->DidReceiveLastInputEventForVSync(frame_time);
+ client_->DidReceiveLastInputEventForBeginFrame(frame_time);
}
void LayerTreeHostImpl::TrackDamageForAllSurfaces(
@@ -1013,8 +1013,8 @@ void LayerTreeHostImpl::OnVSyncParametersChanged(base::TimeTicks timebase,
client_->OnVSyncParametersChanged(timebase, interval);
}
-void LayerTreeHostImpl::DidVSync(base::TimeTicks frame_time) {
- client_->DidVSync(frame_time);
+void LayerTreeHostImpl::BeginFrame(base::TimeTicks frame_time) {
+ client_->DidBeginFrame(frame_time);
}
void LayerTreeHostImpl::OnSendFrameToParentCompositorAck(
@@ -1166,9 +1166,9 @@ bool LayerTreeHostImpl::SwapBuffers(const LayerTreeHostImpl::FrameData& frame) {
return true;
}
-void LayerTreeHostImpl::EnableVSyncNotification(bool enable) {
+void LayerTreeHostImpl::EnableBeginFrameNotification(bool enable) {
if (output_surface_)
- output_surface_->EnableVSyncNotification(enable);
+ output_surface_->EnableBeginFrameNotification(enable);
}
gfx::Size LayerTreeHostImpl::DeviceViewportSize() const {

Powered by Google App Engine
This is Rietveld 408576698