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

Issue 1371723002: Devtools Animations: Add method to fetch CSS keyframed animations (Closed)

Created:
5 years, 2 months ago by samli
Modified:
5 years, 1 month ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, caseq+blink_chromium.org, devtools-reviews_chromium.org, dglazkov+blink, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman, rwlbuis, sergeyv+blink_chromium.org, yurys, yurys+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Devtools Animations: Add method to fetch CSS keyframed animations This change adds a method in StyleResolver which checks the animation-name property of an element and returns all CSSOM keyframes rule representations for that element. This method can then be used in InspectorCSSAgent to propogate to the front-end and show the keyframes there. BUG=266276 Committed: https://crrev.com/981e28fe80483dc7edf3687205472c6bae61db79 Cr-Commit-Position: refs/heads/master@{#357041}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Total comments: 3

Patch Set 7 : #

Total comments: 1

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Messages

Total messages: 37 (12 generated)
samli
PTAL. WIP, pretty ugly code, but looking for general comments on structure. eg. whether or ...
5 years, 2 months ago (2015-09-25 23:15:03 UTC) #2
samli
PTAL.
5 years, 2 months ago (2015-09-28 19:27:09 UTC) #3
samli
+lushnikov
5 years, 2 months ago (2015-09-29 00:47:10 UTC) #5
samli
PTAL. Split into its own method.
5 years, 2 months ago (2015-09-30 18:13:58 UTC) #6
samli
ping
5 years, 2 months ago (2015-10-05 20:31:30 UTC) #7
lushnikov
devtools lgtm https://codereview.chromium.org/1371723002/diff/80001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp File third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp (right): https://codereview.chromium.org/1371723002/diff/80001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp#newcode889 third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp:889: // TODO(samli): Repeat for all pseudo elements. ...
5 years, 2 months ago (2015-10-06 23:01:34 UTC) #8
samli
+ dstockwell for core/css
5 years, 2 months ago (2015-10-06 23:31:46 UTC) #10
samli
ping timloh/dstockwell for core/css https://codereview.chromium.org/1371723002/diff/80001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp File third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp (right): https://codereview.chromium.org/1371723002/diff/80001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp#newcode889 third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp:889: // TODO(samli): Repeat for all ...
5 years, 2 months ago (2015-10-08 17:37:32 UTC) #12
samli
ping
5 years, 2 months ago (2015-10-12 18:11:06 UTC) #13
alancutter (OOO until 2018)
https://codereview.chromium.org/1371723002/diff/100001/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h File third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h (right): https://codereview.chromium.org/1371723002/diff/100001/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h#newcode88 third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h:88: WillBeHeapHashMap<const StringImpl*, CSSStyleSheet*> m_keyframesStyleSheetMap; D: https://codereview.chromium.org/1371723002/diff/100001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp File third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp (right): ...
5 years, 2 months ago (2015-10-15 00:11:53 UTC) #15
samli
https://codereview.chromium.org/1371723002/diff/100001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp File third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp (right): https://codereview.chromium.org/1371723002/diff/100001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp#newcode898 third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp:898: RefPtrWillBeRawPtr<CSSKeyframesRule> keyframesRule = findCSSKeyframesRule(element, animationName); On 2015/10/15 at 00:11:53, ...
5 years, 2 months ago (2015-10-15 00:16:07 UTC) #16
alancutter (OOO until 2018)
On 2015/10/15 at 00:16:07, samli wrote: > https://codereview.chromium.org/1371723002/diff/100001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp > File third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp (right): > > https://codereview.chromium.org/1371723002/diff/100001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp#newcode898 ...
5 years, 2 months ago (2015-10-15 04:05:47 UTC) #17
samli
On 2015/10/15 at 04:05:47, alancutter wrote: > On 2015/10/15 at 00:16:07, samli wrote: > > ...
5 years, 2 months ago (2015-10-17 00:43:57 UTC) #18
alancutter (OOO until 2018)
https://codereview.chromium.org/1371723002/diff/120001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp File third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp (right): https://codereview.chromium.org/1371723002/diff/120001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp#newcode991 third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp:991: return CSSKeyframesRule::create(keyframesRule, styleSheet); I'm not happy with how stylesheets ...
5 years, 1 month ago (2015-10-27 23:57:30 UTC) #19
samli
alancutter PTAL. Removed everything to do with the style sheet and moved remaining logic to ...
5 years, 1 month ago (2015-10-28 20:57:37 UTC) #21
alancutter (OOO until 2018)
lgtm
5 years, 1 month ago (2015-10-28 23:41:38 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371723002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371723002/140001
5 years, 1 month ago (2015-10-28 23:58:46 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/113678)
5 years, 1 month ago (2015-10-29 00:13:29 UTC) #27
samli
+pfeldman for core/inspector OWNERs
5 years, 1 month ago (2015-10-29 00:41:02 UTC) #29
pfeldman
https://codereview.chromium.org/1371723002/diff/140001/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp (right): https://codereview.chromium.org/1371723002/diff/140001/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp#newcode813 third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp:813: RefPtrWillBeRawPtr<StaticCSSRuleList> keyframeRuleList = StaticCSSRuleList::create(); Why do you populate this ...
5 years, 1 month ago (2015-10-29 01:21:52 UTC) #30
samli
https://codereview.chromium.org/1371723002/diff/140001/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp (right): https://codereview.chromium.org/1371723002/diff/140001/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp#newcode813 third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp:813: RefPtrWillBeRawPtr<StaticCSSRuleList> keyframeRuleList = StaticCSSRuleList::create(); On 2015/10/29 at 01:21:52, pfeldman ...
5 years, 1 month ago (2015-10-29 01:37:35 UTC) #31
pfeldman
lgtm
5 years, 1 month ago (2015-10-29 22:27:36 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371723002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371723002/160001
5 years, 1 month ago (2015-10-30 02:37:01 UTC) #35
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 1 month ago (2015-10-30 03:59:09 UTC) #36
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 04:00:10 UTC) #37
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/981e28fe80483dc7edf3687205472c6bae61db79
Cr-Commit-Position: refs/heads/master@{#357041}

Powered by Google App Engine
This is Rietveld 408576698