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

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

Issue 2340433003: [Presentation API] 1-UA: notify receiver page when receiver connection becomes available (blink sid… (Closed)
Patch Set: resolve code review comments from mlamouri Created 4 years, 3 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: 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 024553aba47cee8d7b2f3c78446709810be1ccef..55aceda1d7f7853bc09fcba415509a064d3cfcc1 100644
--- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
+++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
@@ -15,6 +15,7 @@ namespace blink {
class WebPresentationAvailabilityObserver;
class WebPresentationController;
class WebPresentationConnectionClient;
+class WebPresentationReceiver;
class WebString;
struct WebPresentationError;
template <typename T>
@@ -37,6 +38,9 @@ public:
// Passes the Blink-side delegate to the embedder.
virtual void setController(WebPresentationController*) = 0;
+ // Passes the Blink-side delegate to the embedder.
+ virtual void setReceiver(WebPresentationReceiver*) = 0;
+
// Called when the frame requests to start a new session.
// The ownership of the |callbacks| argument is transferred to the embedder.
virtual void startSession(const WebVector<WebString>& presentationUrls, WebPresentationConnectionClientCallbacks*) = 0;

Powered by Google App Engine
This is Rietveld 408576698