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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationReceiver.h

Issue 2484273003: [Presentation API] (1-UA) fire PresentationConnection onterminate event if receiver page gets destr… (Closed)
Patch Set: merge with master Created 3 years, 10 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/Source/modules/presentation/PresentationReceiver.h
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h
index 60d9c00be89de81955afb7441956238b66cb7cef..97391f16a7c9a1b7f3f9a310e9da1dcb615684ee 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h
@@ -45,6 +45,9 @@ class MODULES_EXPORT PresentationReceiver final
// Implementation of WebPresentationController.
WebPresentationConnection* onReceiverConnectionAvailable(
const WebPresentationSessionInfo&) override;
+ void didChangeSessionState(WebPresentationConnectionState) override;
+ void closeWindow() override;
+
void registerConnection(PresentationConnection*);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698