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

Issue 682423002: Devtools Animations: Show subtree animations for a given node (Closed)

Created:
6 years, 1 month ago by samli
Modified:
6 years, 1 month ago
Reviewers:
vsevik
CC:
blink-reviews, shans, apavlov+blink_chromium.org, loislo+blink_chromium.org, aandrey+blink_chromium.org, caseq+blink_chromium.org, Steve Block, pfeldman+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, dstockwell, Timothy Loh, devtools-reviews_chromium.org, Eric Willigers, rjwright, lushnikov+blink_chromium.org, eustas+blink_chromium.org, paulirish+reviews_chromium.org, darktears, blink-reviews-animation_chromium.org, vsevik+blink_chromium.org, Mike Lawther (Google), sergeyv+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Devtools Animations: Show subtree animations for a given node Animations are shown for the selected element making it difficult to find and navigate between animations. This change introduces a persisted checkbox setting to show all animations for the selected node's DOM tree. When hovering on an animation section title the animating element on the page is now highlighted. Clicking on the title to expand/collapse an animation section is also enabled. The subtree setting is turned on by default. This change is behind the Animation Inspection experiment. BUG=419269 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185333

Patch Set 1 #

Patch Set 2 : Collapse animation sections if there are a lot #

Total comments: 4

Patch Set 3 : Review changes #

Total comments: 20

Patch Set 4 : Review changes #

Total comments: 1

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -73 lines) Patch
M Source/core/animation/Animation.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorAnimationAgent.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorAnimationAgent.cpp View 1 2 6 chunks +32 lines, -16 lines 0 comments Download
M Source/devtools/front_end/elements/AnimationsSidebarPane.js View 1 2 3 4 6 chunks +119 lines, -31 lines 0 comments Download
M Source/devtools/front_end/elements/StylesSidebarPane.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/elements/elementsPanel.css View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M Source/devtools/front_end/sdk/AnimationModel.js View 1 2 3 4 chunks +28 lines, -22 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
samli
A video demo of this: http://youtu.be/cp_wJvLAnVI Other demo animation pages: http://web-animations.github.io/web-animations-demos/#starfield
6 years, 1 month ago (2014-10-29 05:48:14 UTC) #2
samli
PTAL
6 years, 1 month ago (2014-11-03 18:00:51 UTC) #3
vsevik
https://codereview.chromium.org/682423002/diff/20001/Source/core/inspector/InspectorDOMAgent.h File Source/core/inspector/InspectorDOMAgent.h (right): https://codereview.chromium.org/682423002/diff/20001/Source/core/inspector/InspectorDOMAgent.h#newcode190 Source/core/inspector/InspectorDOMAgent.h:190: int pushNodePathToFrontend(Node*); You shouldn't do this. Pushing node to ...
6 years, 1 month ago (2014-11-05 09:48:37 UTC) #4
samli
PTAL https://codereview.chromium.org/682423002/diff/20001/Source/core/inspector/InspectorDOMAgent.h File Source/core/inspector/InspectorDOMAgent.h (right): https://codereview.chromium.org/682423002/diff/20001/Source/core/inspector/InspectorDOMAgent.h#newcode190 Source/core/inspector/InspectorDOMAgent.h:190: int pushNodePathToFrontend(Node*); On 2014/11/05 09:48:37, vsevik wrote: > ...
6 years, 1 month ago (2014-11-10 23:59:31 UTC) #5
vsevik
https://codereview.chromium.org/682423002/diff/40001/Source/devtools/front_end/common/Settings.js File Source/devtools/front_end/common/Settings.js (right): https://codereview.chromium.org/682423002/diff/40001/Source/devtools/front_end/common/Settings.js#newcode94 Source/devtools/front_end/common/Settings.js:94: this.showSubtreeAnimations = this.createSetting("showSubtreeAnimations", true); Let's create this setting inside ...
6 years, 1 month ago (2014-11-12 09:14:36 UTC) #6
samli
PTAL https://codereview.chromium.org/682423002/diff/40001/Source/devtools/front_end/common/Settings.js File Source/devtools/front_end/common/Settings.js (right): https://codereview.chromium.org/682423002/diff/40001/Source/devtools/front_end/common/Settings.js#newcode94 Source/devtools/front_end/common/Settings.js:94: this.showSubtreeAnimations = this.createSetting("showSubtreeAnimations", true); On 2014/11/12 09:14:35, vsevik ...
6 years, 1 month ago (2014-11-13 01:12:44 UTC) #7
vsevik
lgtm https://codereview.chromium.org/682423002/diff/60001/Source/devtools/front_end/elements/AnimationsSidebarPane.js File Source/devtools/front_end/elements/AnimationsSidebarPane.js (right): https://codereview.chromium.org/682423002/diff/60001/Source/devtools/front_end/elements/AnimationsSidebarPane.js#newcode15 Source/devtools/front_end/elements/AnimationsSidebarPane.js:15: this.showSubtreeSetting = WebInspector.settings.createSetting("showSubtreeAnimations", true); private?
6 years, 1 month ago (2014-11-13 20:51:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/682423002/80001
6 years, 1 month ago (2014-11-13 23:12:16 UTC) #10
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 00:18:37 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 185333

Powered by Google App Engine
This is Rietveld 408576698