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

Unified Diff: third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h

Issue 1466573002: Presentation API: implement renderer side of PresentationConnection.close(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
index 4edf5772170575db2dd2b36f35c77c2ad75e6aff..74bb2c5da77ccfe6f2902d89b0224a7025d31c19 100644
--- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
+++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
@@ -52,6 +52,9 @@ public:
// Embedder copies the |data| and the ownership is not transferred.
virtual void sendBlobData(const WebString& presentationUrl, const WebString& presentationId, const uint8_t* data, size_t length) = 0;
+ // Called when the frame requests to close an existing session.
+ virtual void closeSession(const WebString& presentationUrl, const WebString& presentationId) = 0;
+
// Called when the frame requests to terminate an existing session.
virtual void terminateSession(const WebString& presentationUrl, const WebString& presentationId) = 0;

Powered by Google App Engine
This is Rietveld 408576698