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

Unified Diff: third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.h

Issue 2415723002: [Blink, RemotePlayback] watchAvailability() implementation. (Closed)
Patch Set: Added layout test for callback gc Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.h
diff --git a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.h b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.h
index e47b3d77829a613ad581aec224a1c6b3db15edde..65793bb3ca446834687ce8a0723cf66724d01280 100644
--- a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.h
+++ b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.h
@@ -14,6 +14,7 @@ namespace blink {
class HTMLMediaElement;
class QualifiedName;
class RemotePlayback;
+class ScriptState;
// Class used to implement the Remote Playback API. It is a supplement to
// HTMLMediaElement.
@@ -29,7 +30,7 @@ class HTMLMediaElementRemotePlayback final
bool);
static HTMLMediaElementRemotePlayback& from(HTMLMediaElement&);
- static RemotePlayback* remote(HTMLMediaElement&);
+ static RemotePlayback* remote(ScriptState*, HTMLMediaElement&);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698