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

Issue 2536643002: Introduce animation frame tasks (Closed)

Created:
4 years ago by foolip
Modified:
4 years ago
Reviewers:
atotic, Sami
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, darktears, blink-reviews, Eric Willigers, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce animation frame tasks This will be used to fix the timing of Fullscreen state transitions and events. In the spec, it is still acknowledged that "Animation frame task is not really defined yet, including relative order within that task": https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen However, this matches the order in HTML, where "run the fullscreen rendering steps" comes after various events and before "run the animation frame callbacks": https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model It would have to be HTML that defines "animation frame task" for the integration with Fullscreen to really make sense, tracked by: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28001 BUG=402376 Committed: https://crrev.com/0428d2791da252d73049587ac6bd4fa1610f6734 Cr-Commit-Position: refs/heads/master@{#436670}

Patch Set 1 #

Total comments: 2

Patch Set 2 : tweak behavior, write tests #

Total comments: 2

Patch Set 3 : document ScriptedAnimationController.h #

Patch Set 4 : drop 'the' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -6 lines) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptedAnimationController.h View 1 2 3 4 chunks +15 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp View 1 3 chunks +16 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/core/dom/ScriptedAnimationControllerTest.cpp View 1 1 chunk +184 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Sami
https://codereview.chromium.org/2536643002/diff/1/third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp File third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp (right): https://codereview.chromium.org/2536643002/diff/1/third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp#newcode85 third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp:85: // TODO(foolip): can running a task append to the ...
4 years ago (2016-11-28 15:50:27 UTC) #2
foolip
https://codereview.chromium.org/2536643002/diff/1/third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp File third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp (right): https://codereview.chromium.org/2536643002/diff/1/third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp#newcode85 third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp:85: // TODO(foolip): can running a task append to the ...
4 years ago (2016-12-06 14:01:22 UTC) #6
Sami
lgtm. https://codereview.chromium.org/2536643002/diff/20001/third_party/WebKit/Source/core/dom/ScriptedAnimationController.h File third_party/WebKit/Source/core/dom/ScriptedAnimationController.h (right): https://codereview.chromium.org/2536643002/diff/20001/third_party/WebKit/Source/core/dom/ScriptedAnimationController.h#newcode61 third_party/WebKit/Source/core/dom/ScriptedAnimationController.h:61: void enqueueTask(std::unique_ptr<WTF::Closure>); It might be nice to have ...
4 years ago (2016-12-06 14:32:50 UTC) #7
foolip
https://codereview.chromium.org/2536643002/diff/20001/third_party/WebKit/Source/core/dom/ScriptedAnimationController.h File third_party/WebKit/Source/core/dom/ScriptedAnimationController.h (right): https://codereview.chromium.org/2536643002/diff/20001/third_party/WebKit/Source/core/dom/ScriptedAnimationController.h#newcode61 third_party/WebKit/Source/core/dom/ScriptedAnimationController.h:61: void enqueueTask(std::unique_ptr<WTF::Closure>); On 2016/12/06 14:32:50, Sami wrote: > It ...
4 years ago (2016-12-06 16:32:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2536643002/60001
4 years ago (2016-12-06 16:40:31 UTC) #15
foolip
atotic@, FYI, here are the animation frame tasks we discussed when I was in MTV. ...
4 years ago (2016-12-06 16:42:13 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-06 19:04:47 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0428d2791da252d73049587ac6bd4fa1610f6734
Cr-Commit-Position: refs/heads/master@{#436670}

Powered by Google App Engine
This is Rietveld 408576698