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

Unified Diff: cc/trees/layer_tree_host.h

Issue 26880010: gfx: Add FrameTime and DisplayTime classes (Closed) Base URL: http://git.chromium.org/chromium/src.git@checkHighResNow4
Patch Set: WIP Created 7 years, 2 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/scheduler/scheduler_state_machine.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 90c8c258e8b01a84888a61712f934654934c4979..fe4c363c15baf2957ed8e4fb10bb31f31c4a2ce8 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -145,8 +145,8 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) {
// LayerTreeHost interface to Proxy.
void WillBeginMainFrame() { client_->WillBeginMainFrame(); }
void DidBeginMainFrame();
- void UpdateClientAnimations(base::TimeTicks monotonic_frame_begin_time);
- void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);
+ void UpdateClientAnimations(gfx::FrameTime monotonic_frame_begin_time);
+ void AnimateLayers(gfx::FrameTime monotonic_frame_begin_time);
void DidStopFlinging();
void Layout();
void BeginCommitOnImplThread(LayerTreeHostImpl* host_impl);
@@ -179,7 +179,7 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) {
void NotifyInputThrottledUntilCommit();
- void Composite(base::TimeTicks frame_begin_time);
+ void Composite(gfx::FrameTime frame_begin_time);
// Only used when compositing on the main thread.
void ScheduleComposite();
« no previous file with comments | « cc/scheduler/scheduler_state_machine.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698