Index: Source/web/WebViewImpl.h |
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h |
index b5499e88c02e92c0434dd7473471bb7ddcdf541a..09d94fa98921f2a886be4d1c7a516f382b1e7ccf 100644 |
--- a/Source/web/WebViewImpl.h |
+++ b/Source/web/WebViewImpl.h |
@@ -37,6 +37,7 @@ |
#include "platform/geometry/IntRect.h" |
#include "platform/graphics/GraphicsLayer.h" |
#include "platform/heap/Handle.h" |
+#include "public/platform/WebCompositorAnimationTimeline.h" |
#include "public/platform/WebDisplayMode.h" |
#include "public/platform/WebFloatSize.h" |
#include "public/platform/WebGestureCurveTarget.h" |
@@ -77,7 +78,6 @@ class DeprecatedPaintLayerCompositor; |
class TopControls; |
class UserGestureToken; |
class WebActiveGestureAnimation; |
-class WebCompositorAnimationTimeline; |
class WebDevToolsAgentImpl; |
class WebElement; |
class WebLayerTreeView; |
@@ -443,6 +443,7 @@ public: |
void scheduleAnimation(); |
void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*); |
void detachCompositorAnimationTimeline(WebCompositorAnimationTimeline*); |
+ WebCompositorAnimationTimeline* linkHighlightsTimeline() const { return m_linkHighlightsTimeline.get(); } |
virtual void setVisibilityState(WebPageVisibilityState, bool) override; |
@@ -739,6 +740,7 @@ private: |
int m_flingModifier; |
bool m_flingSourceDevice; |
Vector<OwnPtr<LinkHighlight>> m_linkHighlights; |
+ OwnPtr<WebCompositorAnimationTimeline> m_linkHighlightsTimeline; |
chrishtr
2015/07/13 21:20:53
Why do you need a timeline specific to link highli
loyso (OOO)
2015/07/14 00:59:04
Timeline is a group of players, basically. Here we
chrishtr
2015/07/14 18:34:00
Is it actually possible to animate a link highligh
loyso (OOO)
2015/07/15 02:04:36
Yes, that's an opacity animation if you touch a hy
chrishtr
2015/07/15 14:25:14
It looks like each Document has a timeline already
loyso (OOO)
2015/07/21 01:19:07
Acknowledged.
|
OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; |
bool m_showFPSCounter; |