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

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 dcheng 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 7b1cb007ceced9a36c2287a4a67ae6d24ccded71..d2b4d60abade05692b86b949414c8a2384129364 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;
class WebURL;
struct WebPresentationError;
@@ -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<WebURL>& presentationUrls, WebPresentationConnectionClientCallbacks*) = 0;

Powered by Google App Engine
This is Rietveld 408576698