Index: third_party/WebKit/Source/core/layout/LayoutProgress.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutProgress.h b/third_party/WebKit/Source/core/layout/LayoutProgress.h |
index c8d8abf48dbc3ff22cb864e72e76a7afcf12740c..1c30b8e18302dfd90c21b61c2ab4f089348eb7ec 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutProgress.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutProgress.h |
@@ -46,6 +46,9 @@ public: |
protected: |
void willBeDestroyed() override; |
+ bool isAnimating() const; |
+ bool isAnimationTimerActive() const; |
+ |
private: |
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectProgress || LayoutBlockFlow::isOfType(type); } |
@@ -58,6 +61,8 @@ private: |
double m_animationDuration; |
bool m_animating; |
Timer<LayoutProgress> m_animationTimer; |
+ |
+ friend class LayoutProgressTest; |
}; |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutProgress, isProgress()); |