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

Unified Diff: third_party/WebKit/Source/core/page/PageAnimator.h

Issue 1410313004: Web Animations: Use a single animation clock (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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: third_party/WebKit/Source/core/page/PageAnimator.h
diff --git a/third_party/WebKit/Source/core/page/PageAnimator.h b/third_party/WebKit/Source/core/page/PageAnimator.h
index d1f547fa4222903f91fe1d40da64b7a5a729fc84..436f473c8290c7a142fd827fbd6f3f7b86d2dee8 100644
--- a/third_party/WebKit/Source/core/page/PageAnimator.h
+++ b/third_party/WebKit/Source/core/page/PageAnimator.h
@@ -6,6 +6,7 @@
#define PageAnimator_h
#include "core/CoreExport.h"
+#include "core/animation/AnimationClock.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -23,6 +24,7 @@ public:
bool isServicingAnimations() const { return m_servicingAnimations; }
void updateLayoutAndStyleForPainting(LocalFrame& rootFrame);
void updateAllLifecyclePhases(LocalFrame& rootFrame);
+ AnimationClock& clock() { return m_animationClock; }
private:
explicit PageAnimator(Page&);
@@ -30,6 +32,7 @@ private:
RawPtrWillBeMember<Page> m_page;
bool m_servicingAnimations;
bool m_updatingLayoutAndStyleForPainting;
+ AnimationClock m_animationClock;
};
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/page/PageAnimator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698