AnimationTimeline* GetTimelineInternal() {nit: Precede setters with the word “Set”; use bare words for getters. Consider renaming 'GetTimelineInternal' to 'TimelineInternal' as there is no naming conflict with a type. (Blink Style Guide: Naming - Precede setters with the word “Set”; use bare words for getters)
To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason
_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
AnimationTimeline* GetTimelineInternal() { return timeline_.Get(); }nit: Precede setters with the word “Set”; use bare words for getters. Consider renaming 'GetTimelineInternal' to 'TimelineInternal' as there is no naming conflict with a type. (Blink Style Guide: Naming - Precede setters with the word “Set”; use bare words for getters)
To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason
_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
TimelineTrigger(const Member<TimelineTriggerRanges>& ranges,nit: Prefer raw pointers for function parameters. `Member<T>` is intended for class member variables. Use `TimelineTriggerRanges*` instead of `const Member<TimelineTriggerRanges>&`.
To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason
_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
TimelineTrigger::TimelineTrigger(const Member<TimelineTriggerRanges>& ranges,nit: Prefer raw pointers for function parameters. `Member<T>` is intended for class member variables. Use `TimelineTriggerRanges*` instead of `const Member<TimelineTriggerRanges>&`.
To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason
_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
TimelineTrigger(const Member<TimelineTriggerRanges>& ranges,nit: Prefer raw pointers for function parameters. `Member<T>` is intended for class member variables. Use `TimelineTriggerRanges*` instead of `const Member<TimelineTriggerRanges>&`.
To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason
_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
Acknowledged. Pre-existing function; will consider renaming in future patch.
TimelineTrigger::TimelineTrigger(const Member<TimelineTriggerRanges>& ranges,nit: Prefer raw pointers for function parameters. `Member<T>` is intended for class member variables. Use `TimelineTriggerRanges*` instead of `const Member<TimelineTriggerRanges>&`.
To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason
_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
Acknowledged. Will fix.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
(I'll delete this from the description: timeline_trigger_range.cc is empty in this patch because I left the implementation of TimelineTriggerRange in timeline_trigger.cc as that may make it easier to see what code is actually changing; I had originally separated the implementation in https://chromium-review.googlesource.com/c/chromium/src/+/7365245)Thanks, please move the implementation over for landing. You can always leave a note like this as a file comment on the file.
] interface TimelineTriggerRanges {We tend to not pluralist type names - maybe call this TimelineTriggerRangeList similar to NodeList.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
getter TimelineTriggerRange item(unsigned long index);Also add `iterable<TimelineTriggerRange>;` as we should be able to iterate through the ranges in this type.
(I'll delete this from the description: timeline_trigger_range.cc is empty in this patch because I left the implementation of TimelineTriggerRange in timeline_trigger.cc as that may make it easier to see what code is actually changing; I had originally separated the implementation in https://chromium-review.googlesource.com/c/chromium/src/+/7365245)Thanks, please move the implementation over for landing. You can always leave a note like this as a file comment on the file.
Ack. Will do.
We tend to not pluralist type names - maybe call this TimelineTriggerRangeList similar to NodeList.
Sounds good. Done.
Also add `iterable<TimelineTriggerRange>;` as we should be able to iterate through the ranges in this type.
Done
namespace blink {} // namespace blinkFor ease of review, the implementation of
TimelineTriggerRange is left in timeline_trigger.cc as it is mostly a copy
of code that was previously implemented in TimelineTrigger. The code will
be moved here before landing.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/57110.
When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.
WPT Export docs:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[animation-trigger] Make TimelineTrigger support multiple timelines
We got a resolution[1] to future-proof the TimelineTrigger interface
towards supporting multiple timelines. This cl makes this change.
(I'll delete this from the description: timeline_trigger_range.cc is empty in this patch because I left the implementation of TimelineTriggerRange in timeline_trigger.cc as that may make it easier to see what code is actually changing; I had originally separated the implementation in https://chromium-review.googlesource.com/c/chromium/src/+/7365245)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/57110
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |