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

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: Addresses whywhat's comments 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
« no previous file with comments | « no previous file | Source/modules/presentation/PresentationController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/presentation/PresentationController.h
diff --git a/Source/modules/presentation/PresentationController.h b/Source/modules/presentation/PresentationController.h
index 89846e7a5d750685e7ef5b143c3def65532d2b1b..ad2aae3386e3239ccdf4e660fdaad53430e39970 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& url, const String& presentationId);
+
// Connects the |Presentation| object with this controller.
void setPresentation(Presentation*);
« no previous file with comments | « no previous file | Source/modules/presentation/PresentationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698