Commit 2299848d authored by Thomas Guilbert's avatar Thomas Guilbert Committed by Commit Bot

Update video-raf spec pointer comments

This CL only modifies comments, pointing them towards the official
video-raf spec.

TBR: mlamouri@chromium.org
Bug: 1022186
Change-Id: I2da26aa139e453ea5547b3bab84e64a2e64c29be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2025831Reviewed-by: default avatarThomas Guilbert <tguilbert@chromium.org>
Commit-Queue: Thomas Guilbert <tguilbert@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736131}
parent 493f1063
......@@ -436,7 +436,7 @@ class WebMediaPlayer {
// Register a request to be notified the next time a video frame is presented
// to the compositor. The video frame and its metadata will be surfaced via
// WebMediaPlayerClient::OnRequestAnimationFrame().
// TODO(https://crbug.com/1022186): Add pointer to spec.
// See https://wicg.github.io/video-raf/.
virtual void RequestAnimationFrame() {}
virtual base::WeakPtr<WebMediaPlayer> AsWeakPtr() = 0;
......
......@@ -187,7 +187,7 @@ class BLINK_PLATFORM_EXPORT WebMediaPlayerClient {
// Called when a video frame has been presented to the compositor, after a
// request was initiated via WebMediaPlayer::RequestAnimationFrame().
// TODO(https://crbug.com/1022186): Add pointer to spec.
// See https://wicg.github.io/video-raf/.
virtual void OnRequestAnimationFrame(
base::TimeTicks presentation_time,
base::TimeTicks expected_presentation_time,
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(https://crbug.com/1022186): Add pointer to video.rAF spec.
// See https://wicg.github.io/video-raf/.
[
RuntimeEnabled=VideoRequestAnimationFrame,
ImplementedAs=VideoRequestAnimationFrameImpl
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(https://crbug.com/1022186): Add pointer to video.rAF spec.
// See https://wicg.github.io/video-raf/.
dictionary VideoFrameMetadata {
// The time at which the user agent submitted the frame for composition.
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(https://crbug.com/1022186): Add pointer to video.rAF spec.
// See https://wicg.github.io/video-raf/.
[RuntimeEnabled=VideoRequestAnimationFrame]
callback VideoFrameRequestCallback = void(DOMHighResTimeStamp time, VideoFrameMetadata metadata);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment