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

Unified Diff: Source/modules/presentation/Presentation.idl

Issue 832263007: Added plumbing for the availablechange event from Blink to WebPresentationClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added onClientDestroyed Created 5 years, 11 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
« no previous file with comments | « Source/modules/presentation/Presentation.cpp ('k') | Source/modules/presentation/PresentationController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/presentation/Presentation.idl
diff --git a/Source/modules/presentation/Presentation.idl b/Source/modules/presentation/Presentation.idl
index bd39e1d02c0ea7cfd994700e45c6d63409f11996..92b53bbf4205109c47a6d6b5355e3496b7ecd338 100644
--- a/Source/modules/presentation/Presentation.idl
+++ b/Source/modules/presentation/Presentation.idl
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// http://webscreens.github.io/presentation-api/#navigatorpresentation
+// https://w3c.github.io/presentation-api/#navigatorpresentation
[
GarbageCollected,
@@ -10,8 +10,8 @@
] interface Presentation : EventTarget {
readonly attribute PresentationSession? session;
- [CallWith=ScriptState] Promise<PresentationSession> startSession(DOMString senderId, [Default=Undefined] optional DOMString presentationId);
- [CallWith=ScriptState] Promise<PresentationSession> joinSession(DOMString senderId, [Default=Undefined] optional DOMString presentationId);
+ [CallWith=ScriptState] Promise<PresentationSession> startSession(DOMString presentationUrl, [Default=Undefined] optional DOMString presentationId);
+ [CallWith=ScriptState] Promise<PresentationSession> joinSession(DOMString presentationUrl, [Default=Undefined] optional DOMString presentationId);
attribute EventHandler onavailablechange;
};
« no previous file with comments | « Source/modules/presentation/Presentation.cpp ('k') | Source/modules/presentation/PresentationController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698