Index: third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.idl |
diff --git a/third_party/WebKit/Source/modules/webshare/NavigatorShare.idl b/third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.idl |
similarity index 52% |
copy from third_party/WebKit/Source/modules/webshare/NavigatorShare.idl |
copy to third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.idl |
index 27e55b463664f32e5317e445c4edeba3d1084bbe..03d4c1a28dc1f61864f3022174a0c9586c3f73eb 100644 |
--- a/third_party/WebKit/Source/modules/webshare/NavigatorShare.idl |
+++ b/third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.idl |
@@ -2,11 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// https://github.com/WICG/web-share/blob/master/docs/interface.md |
+// https://mediasession.spec.whatwg.org/#the-mediasession-interface |
[ |
- OriginTrialEnabled=WebShare, |
+ RuntimeEnabled=MediaSession, |
+ Exposed=(Window), |
] partial interface Navigator { |
- [CallWith=ScriptState, MeasureAs=WebShareShare] |
- Promise<void> share(ShareData data); |
+ readonly attribute MediaSession mediaSession; |
}; |