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

Unified Diff: modules/presentation/Presentation.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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: modules/presentation/Presentation.idl
diff --git a/modules/presentation/Presentation.idl b/modules/presentation/Presentation.idl
index 2ec7725fde5ed4f6ae21fb6faeac3b57c4c42357..968abdeb486e370a5c9457a7a5b15fdc9038d016 100644
--- a/modules/presentation/Presentation.idl
+++ b/modules/presentation/Presentation.idl
@@ -7,16 +7,9 @@
[
GarbageCollected,
RuntimeEnabled=Presentation
-] interface Presentation : EventTarget {
- // This API used by controlling browsing context.
- [CallWith=ScriptState] Promise<PresentationSession> startSession(DOMString url);
- // TODO(avayvod): The |presentationId| argument should not be optional.
- [CallWith=ScriptState] Promise<PresentationSession> joinSession(DOMString url, [Default=Undefined] optional DOMString presentationId);
- [CallWith=ScriptState] Promise<PresentationAvailability> getAvailability(DOMString url);
- attribute EventHandler ondefaultsessionstart;
+] interface Presentation {
+ [MeasureAs=PresentationDefaultRequest] attribute PresentationRequest? defaultRequest;
- // This API used by presenting browsing context.
- // TODO(avayvod): The spec has |getSession()| and |getSessions()| instead.
- readonly attribute PresentationSession? session;
- // TODO(avayvod): attribute EventHandler onsessionavailable;
+ // This API is available on the receiving browsing context.
+ [RuntimeEnabled=PresentationReceiver, SameObject] readonly attribute PresentationReceiver? receiver;
};
« no previous file with comments | « modules/presentation/DefaultSessionStartEventInit.idl ('k') | modules/presentation/PresentationAvailability.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698