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

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: rebase 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 6bed7215e8fc8368decce5c6532d97c1ce9bcd61..0a3f278146242e25b7d6dc43f2507299c599daaf 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h
@@ -46,6 +46,9 @@ class MODULES_EXPORT PresentationReceiver final
// Implementation of WebPresentationController.
WebPresentationConnection* onReceiverConnectionAvailable(
const WebPresentationSessionInfo&) override;
+ void didChangeSessionState(WebPresentationConnectionState) override;
+ void terminateConnection() override;
+
void registerConnection(PresentationConnection*);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698