| Index: third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
|
| diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
|
| index 04ad7352edf7a229139f6f39023acfe783223177..1720d398336eb18819f65c5f0b390fff292436b7 100644
|
| --- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
|
| +++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
|
| @@ -10,6 +10,7 @@
|
| namespace blink {
|
|
|
| class WebPresentationConnectionClient;
|
| +enum class WebPresentationConnectionState;
|
|
|
| // The delegate Blink provides to WebPresentationReceiverClient in order to get
|
| // updates.
|
| @@ -20,6 +21,13 @@ class BLINK_PLATFORM_EXPORT WebPresentationReceiver {
|
| // Called when receiver page gets an incoming connection.
|
| virtual void onReceiverConnectionAvailable(
|
| WebPresentationConnectionClient*) = 0;
|
| +
|
| + // Called when receiver page gets destroyed.
|
| + virtual void didChangeSessionState(WebPresentationConnectionState) = 0;
|
| +
|
| + // Called when any PresentationConnection object on receiver page invokes
|
| + // connnection.terminate().
|
| + virtual void closeWindow() = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|