| Index: third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h
|
| diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h
|
| index 297e07ff0dda0c81ca4244b0b2ad55061b33028e..ee8b2e318da6415a7b14e835a1971bea97fdc5c4 100644
|
| --- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h
|
| +++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h
|
| @@ -9,8 +9,8 @@
|
|
|
| namespace blink {
|
|
|
| -struct WebPresentationSessionInfo;
|
| class WebPresentationConnection;
|
| +struct WebPresentationInfo;
|
| class WebString;
|
|
|
| enum class WebPresentationConnectionCloseReason { Error = 0, Closed, WentAway };
|
| @@ -27,28 +27,28 @@ class BLINK_PLATFORM_EXPORT WebPresentationController {
|
| public:
|
| virtual ~WebPresentationController() {}
|
|
|
| - // Called when the presentation session is started by the embedder using
|
| - // the default presentation URL and id.
|
| - virtual WebPresentationConnection* didStartDefaultSession(
|
| - const WebPresentationSessionInfo&) = 0;
|
| + // Called when the presentation is started using the default presentation URL
|
| + // and id.
|
| + virtual WebPresentationConnection* didStartDefaultPresentation(
|
| + const WebPresentationInfo&) = 0;
|
|
|
| - // Called when the state of a session changes.
|
| - virtual void didChangeSessionState(const WebPresentationSessionInfo&,
|
| - WebPresentationConnectionState) = 0;
|
| + // Called when the state of a presentation connection changes.
|
| + virtual void didChangeConnectionState(const WebPresentationInfo&,
|
| + WebPresentationConnectionState) = 0;
|
|
|
| // Called when a connection closes.
|
| - virtual void didCloseConnection(const WebPresentationSessionInfo&,
|
| + virtual void didCloseConnection(const WebPresentationInfo&,
|
| WebPresentationConnectionCloseReason,
|
| const WebString& message) = 0;
|
|
|
| - // Called when a text message of a session is received.
|
| - virtual void didReceiveSessionTextMessage(const WebPresentationSessionInfo&,
|
| - const WebString& message) = 0;
|
| + // Called when a text message is received from the presentation.
|
| + virtual void didReceiveConnectionTextMessage(const WebPresentationInfo&,
|
| + const WebString& message) = 0;
|
|
|
| - // Called when a binary message of a session is received.
|
| - virtual void didReceiveSessionBinaryMessage(const WebPresentationSessionInfo&,
|
| - const uint8_t* data,
|
| - size_t length) = 0;
|
| + // Called when a binary message is received from the presentation.
|
| + virtual void didReceiveConnectionBinaryMessage(const WebPresentationInfo&,
|
| + const uint8_t* data,
|
| + size_t length) = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|