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

Unified Diff: content/common/presentation/presentation_service.mojom

Issue 1466573002: Presentation API: implement renderer side of PresentationConnection.close(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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: content/common/presentation/presentation_service.mojom
diff --git a/content/common/presentation/presentation_service.mojom b/content/common/presentation/presentation_service.mojom
index 5f0f5e442c387f2396f015f767083bac1f7e653c..204d179cebd9cf1be8abce36f4530e536399011d 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -87,9 +87,12 @@ interface PresentationService {
SendSessionMessage(PresentationSessionInfo sessionInfo,
SessionMessage message_request) => (bool success);
- // Called when closeSession() is called by the frame.
+ // Called when close() is called by the frame.
CloseSession(string presentation_url, string presentation_id);
+ // Called when terminate() is called by the frame.
+ TerminateSession(string presentation_url, string presentation_id);
+
// Starts listening for messages for session with |sessionInfo|.
// Messages will be received in
// PresentationServiceClient::OnSessionMessagesReceived.

Powered by Google App Engine
This is Rietveld 408576698