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

Unified Diff: Source/modules/presentation/PresentationController.h

Issue 1015903002: [Presentation API] Adds close method to Presentation session. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/modules/presentation/PresentationController.h
diff --git a/Source/modules/presentation/PresentationController.h b/Source/modules/presentation/PresentationController.h
index 89846e7a5d750685e7ef5b143c3def65532d2b1b..2ddec1fc96c80b8e419af554dadfb5292f4adcd5 100644
--- a/Source/modules/presentation/PresentationController.h
+++ b/Source/modules/presentation/PresentationController.h
@@ -54,6 +54,9 @@ public:
// Called when the frame wants to join an existing presentation.
void joinSession(const String& presentationUrl, const String& presentationId, WebPresentationSessionClientCallbacks*);
+ // Called when the frame wants to close an existing presentation.
+ void closeSession(const String& presentationId);
whywhat 2015/03/17 23:35:19 Shouldn't you pass the url too? I don't think we r
haibinlu 2015/03/18 00:58:22 Done. But I do not think URL+ID is unique in a bro
+
// Connects the |Presentation| object with this controller.
void setPresentation(Presentation*);

Powered by Google App Engine
This is Rietveld 408576698