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

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

Issue 1412933005: Revert of Introduce WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/mediasession/MediaSession.idl
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaSession.idl b/third_party/WebKit/Source/modules/mediasession/MediaSession.idl
index d42ea6b03019123f9facaa28833332eab0f0868f..235604b3f20f4b98c5470611e3d8e68f8152db2e 100644
--- a/third_party/WebKit/Source/modules/mediasession/MediaSession.idl
+++ b/third_party/WebKit/Source/modules/mediasession/MediaSession.idl
@@ -6,11 +6,9 @@
[
Constructor(),
- ConstructorCallWith=ExecutionContext,
- RaisesException=Constructor,
GarbageCollected,
RuntimeEnabled=MediaSession,
] interface MediaSession {
- [CallWith=ScriptState] Promise<void> activate();
- [CallWith=ScriptState] Promise<void> deactivate();
+ void activate();
+ void deactivate();
};

Powered by Google App Engine
This is Rietveld 408576698