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

Issue 1471193008: Devtools Animations: Maintain playback rate on navigation (Closed)

Created:
5 years ago by samli
Modified:
5 years ago
Reviewers:
dstockwell, pfeldman
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, Eric Willigers, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, rjwright, sergeyv+blink_chromium.org, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Devtools Animations: Maintain playback rate on navigation This change allows slowdown of on-load animations and does not affect the playback rate when devtools is closed. BUG=447083 Committed: https://crrev.com/07835d0da6848630e58505a7e0ac4f560978d726 Cr-Commit-Position: refs/heads/master@{#361834} Committed: https://crrev.com/4d69a570d0b2df9e37605d82126ca390b71a5300 Cr-Commit-Position: refs/heads/master@{#363697}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp View 1 2 3 4 5 4 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (15 generated)
samli
5 years ago (2015-11-26 04:55:05 UTC) #2
dstockwell
lgtm
5 years ago (2015-11-26 05:09:06 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471193008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471193008/1
5 years ago (2015-11-26 05:17:35 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-11-26 06:25:40 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/07835d0da6848630e58505a7e0ac4f560978d726 Cr-Commit-Position: refs/heads/master@{#361834}
5 years ago (2015-11-26 06:26:35 UTC) #8
pfeldman
Why is it handled on the front-end side? Does not sound right. @dstockwell: I am ...
5 years ago (2015-11-26 08:13:31 UTC) #9
pfeldman
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1477113002/ by pfeldman@chromium.org. ...
5 years ago (2015-11-26 08:14:06 UTC) #10
pfeldman
@samli: please make sure inspector contributors are in the reviewers list of your changes.
5 years ago (2015-11-26 08:18:16 UTC) #11
samli
On 2015/11/26 at 08:13:31, pfeldman wrote: > Why is it handled on the front-end side? ...
5 years ago (2015-11-27 00:32:57 UTC) #12
samli
5 years ago (2015-11-27 02:51:47 UTC) #14
pfeldman
You can't implement this on the front-end due to the race. While your navigation event ...
5 years ago (2015-11-27 03:53:30 UTC) #15
samli
https://codereview.chromium.org/1471193008/diff/40001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/1471193008/diff/40001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp#newcode64 third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp:64: double playbackRate = m_state->getDouble(AnimationAgentState::animationAgentPlaybackRate); On 2015/11/27 at 03:53:30, pfeldman ...
5 years ago (2015-11-27 04:10:55 UTC) #17
samli
Not sure how to test the restore(). I've tried things like Page.reload, Page.navigate, but they ...
5 years ago (2015-11-27 04:14:53 UTC) #18
pfeldman
https://codereview.chromium.org/1471193008/diff/60001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/1471193008/diff/60001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp#newcode58 third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp:58: if (playbackRate != 1 && playbackRate != 0) So ...
5 years ago (2015-11-27 04:40:45 UTC) #19
samli
https://codereview.chromium.org/1471193008/diff/60001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/1471193008/diff/60001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp#newcode58 third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp:58: if (playbackRate != 1 && playbackRate != 0) On ...
5 years ago (2015-11-27 07:17:05 UTC) #20
pfeldman
On 2015/11/27 07:17:05, samli wrote: > https://codereview.chromium.org/1471193008/diff/60001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp > File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp > (right): > > https://codereview.chromium.org/1471193008/diff/60001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp#newcode58 ...
5 years ago (2015-11-30 19:45:25 UTC) #21
samli
On 2015/11/30 at 19:45:25, pfeldman wrote: > On 2015/11/27 07:17:05, samli wrote: > > https://codereview.chromium.org/1471193008/diff/60001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp ...
5 years ago (2015-11-30 22:52:49 UTC) #22
pfeldman
On 2015/11/30 22:52:49, samli wrote: > On 2015/11/30 at 19:45:25, pfeldman wrote: > > On ...
5 years ago (2015-12-01 23:01:29 UTC) #23
samli
On 2015/12/01 at 23:01:29, pfeldman wrote: > On 2015/11/30 22:52:49, samli wrote: > > On ...
5 years ago (2015-12-01 23:52:30 UTC) #24
pfeldman
> Ok, so I still thinks it makes the most sense to implement this on ...
5 years ago (2015-12-02 00:07:42 UTC) #25
samli
PTAL.
5 years ago (2015-12-02 03:11:50 UTC) #26
pfeldman
lgtm
5 years ago (2015-12-02 05:23:54 UTC) #27
pfeldman
https://codereview.chromium.org/1471193008/diff/80001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/1471193008/diff/80001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp#newcode73 third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp:73: m_state->setBoolean(AnimationAgentState::animationAgentEnabled, false); Don't land it just yet - you ...
5 years ago (2015-12-02 05:25:05 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471193008/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471193008/80001
5 years ago (2015-12-02 23:31:10 UTC) #31
samli
https://codereview.chromium.org/1471193008/diff/80001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/1471193008/diff/80001/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp#newcode73 third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp:73: m_state->setBoolean(AnimationAgentState::animationAgentEnabled, false); On 2015/12/02 at 05:25:05, pfeldman wrote: > ...
5 years ago (2015-12-02 23:31:16 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/104319)
5 years ago (2015-12-03 01:22:48 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471193008/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471193008/80001
5 years ago (2015-12-03 01:41:41 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/104412)
5 years ago (2015-12-03 02:59:18 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471193008/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471193008/100001
5 years ago (2015-12-07 04:25:46 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/145163)
5 years ago (2015-12-07 05:41:00 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471193008/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471193008/100001
5 years ago (2015-12-07 23:49:29 UTC) #45
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-12-08 01:39:32 UTC) #46
commit-bot: I haz the power
5 years ago (2015-12-08 01:41:07 UTC) #48
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4d69a570d0b2df9e37605d82126ca390b71a5300
Cr-Commit-Position: refs/heads/master@{#363697}

Powered by Google App Engine
This is Rietveld 408576698