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

Unified Diff: third_party/WebKit/Source/modules/mediasession/MediaSession.h

Issue 2252783004: Implement MediaSession (metadata) per frame [NOT READY, HAS DEPENDENCY] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 years, 3 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/mediasession/MediaSession.h
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaSession.h b/third_party/WebKit/Source/modules/mediasession/MediaSession.h
index 07c250043c9f700083439d3df9c3b3dbf94fbb80..18adbf3c1da03b0bfe5d6e46e97ef436ac865211 100644
--- a/third_party/WebKit/Source/modules/mediasession/MediaSession.h
+++ b/third_party/WebKit/Source/modules/mediasession/MediaSession.h
@@ -14,6 +14,7 @@
namespace blink {
+class LocalFrame;
class MediaMetadata;
class ScriptState;
@@ -23,6 +24,7 @@ class MODULES_EXPORT MediaSession final
DEFINE_WRAPPERTYPEINFO();
public:
static MediaSession* create(ExecutionContext*, ExceptionState&);
+ static MediaSession* create(LocalFrame*, ExceptionState&);
WebMediaSession* getWebMediaSession() { return m_webMediaSession.get(); }

Powered by Google App Engine
This is Rietveld 408576698