Index: third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js b/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js |
index 8b2cf88a7bca826cce5332067935f6415fd02c98..18f2b9d332f2f60676eaa40231aa293b4d77b8ca 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js |
+++ b/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js |
@@ -49,12 +49,18 @@ WebInspector.AnimationTimeline._ControlState = { |
}; |
WebInspector.AnimationTimeline.prototype = { |
+ /** |
+ * @override |
+ */ |
wasShown: function() |
{ |
for (var target of WebInspector.targetManager.targets(WebInspector.Target.Capability.DOM)) |
this._addEventListeners(target); |
}, |
+ /** |
+ * @override |
+ */ |
willHide: function() |
{ |
for (var target of WebInspector.targetManager.targets(WebInspector.Target.Capability.DOM)) |
@@ -546,6 +552,9 @@ WebInspector.AnimationTimeline.prototype = { |
delete this._redrawing; |
}, |
+ /** |
+ * @override |
+ */ |
onResize: function() |
{ |
this._cachedTimelineWidth = Math.max(0, this._animationsContainer.offsetWidth - this._timelineControlsWidth) || 0; |