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

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

Issue 2432173006: [Blink, RemotePlayback] Handle disabling remote playback (Closed)
Patch Set: Fixed the static method calls 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/RemotePlayback.h
diff --git a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h
index c356d970883563437b0a8a926f29b5b953533f4f..6ae93592927073d5106cea1fc9d1d9b66342e7ca 100644
--- a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h
+++ b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h
@@ -35,6 +35,10 @@ class MODULES_EXPORT RemotePlayback final
public:
static RemotePlayback* create(ScriptState*, HTMLMediaElement&);
+ // Notifies this object that disableRemotePlayback attribute was set on the
+ // corresponding media element.
+ void remotePlaybackDisabled();
+
// EventTarget implementation.
const WTF::AtomicString& interfaceName() const override;
ExecutionContext* getExecutionContext() const override;

Powered by Google App Engine
This is Rietveld 408576698