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

Unified Diff: cc/trees/layer_tree_impl.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/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 76e6d53edb95b7ebacd9335b70a4b4054138a515..ed4684e1eaa504cb3bac33e43690931be5a4467c 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -14,6 +14,7 @@
#include "cc/layers/layer_impl.h"
#include "cc/resources/ui_resource_client.h"
#include "ui/events/latency_info.h"
+#include "ui/gfx/frame_time.h"
#if defined(COMPILER_GCC)
namespace BASE_HASH_NAMESPACE {
@@ -74,9 +75,9 @@ class CC_EXPORT LayerTreeImpl {
LayerImpl* FindPendingTreeLayerById(int id);
int MaxTextureSize() const;
bool PinchGestureActive() const;
- base::TimeTicks CurrentFrameTimeTicks() const;
+ gfx::FrameTime CurrentFrameTimeTicks() const;
base::Time CurrentFrameTime() const;
- base::TimeTicks CurrentPhysicalTimeTicks() const;
+ gfx::FrameTime CurrentPhysicalFrameTime() const;
void SetNeedsCommit();
gfx::Size DrawViewportSize() const;
void StartScrollbarAnimation();
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698