| 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 b0bae336331a1a5cf3e5c9fa44bb850d08ba1419..5d1c2f0dbc87d2309e1bc8b2dd1bfe4240b878bc 100644
|
| --- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
|
| +++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
|
| @@ -17,6 +17,7 @@ class WebPresentationController;
|
| class WebPresentationConnectionClient;
|
| class WebString;
|
| struct WebPresentationError;
|
| +template <typename T> class WebVector;
|
|
|
| // If session was created, callback's onSuccess() is invoked with the information about the
|
| // presentation session created by the embedder. Otherwise, onError() is invoked with the error code
|
| @@ -36,11 +37,11 @@ public:
|
|
|
| // 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 WebString& presentationUrl, WebPresentationConnectionClientCallbacks*) = 0;
|
| + virtual void startSession(const WebVector<WebString>& presentationUrls, WebPresentationConnectionClientCallbacks*) = 0;
|
|
|
| // Called when the frame requests to join an existing session.
|
| // The ownership of the |callbacks| argument is transferred to the embedder.
|
| - virtual void joinSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationConnectionClientCallbacks*) = 0;
|
| + virtual void joinSession(const WebVector<WebString>& presentationUrls, const WebString& presentationId, WebPresentationConnectionClientCallbacks*) = 0;
|
|
|
| // Called when the frame requests to send String message to an existing session.
|
| virtual void sendString(const WebString& presentationUrl, const WebString& presentationId, const WebString& message) = 0;
|
| @@ -60,9 +61,9 @@ public:
|
| virtual void terminateSession(const WebString& presentationUrl, const WebString& presentationId) = 0;
|
|
|
| // Called when the frame wants to know the availability of a presentation
|
| - // display for |availabilityUrl|. The ownership of the callbacks argument
|
| + // display for |availabilityUrls|. The ownership of the callbacks argument
|
| // is transferred to the embedder.
|
| - virtual void getAvailability(const WebString& availabilityUrl, WebPresentationAvailabilityCallbacks*) = 0;
|
| + virtual void getAvailability(const WebVector<WebString>& availabilityUrls, WebPresentationAvailabilityCallbacks*) = 0;
|
|
|
| // Start listening to changes in presentation displays availability. The
|
| // observer will be notified in case of a change. The observer is
|
| @@ -73,9 +74,9 @@ public:
|
| // observer will no longer be notified in case of a change.
|
| virtual void stopListening(WebPresentationAvailabilityObserver*) = 0;
|
|
|
| - // Called when a defaultRequest has been set. It sends the url associated
|
| + // Called when a defaultRequest has been set. It sends the urls associated
|
| // with it for the embedder.
|
| - virtual void setDefaultPresentationUrl(const WebString&) = 0;
|
| + virtual void setDefaultPresentationUrls(const WebVector<WebString>&) = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|