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

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

Issue 2863903002: [Presentation API] Change controller connection to 'terminated' when receiver connection terminates (Closed)
Patch Set: fix layout test failures Created 3 years, 7 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/PresentationConnection.h
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
index 96cc0317f3e6332c5a1b72633023f562b05853db..bf1e7ca4fdd4a65bf008b8447b71597f1bfd9a0f 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
@@ -95,6 +95,8 @@ class PresentationConnection final : public EventTargetWithInlineData,
WebPresentationConnectionState GetState();
void DidChangeState(WebPresentationConnectionState,
bool should_dispatch_event);
+ // Notify target connection about connection state change.
+ void NotifyTargetConnection(WebPresentationConnectionState);
protected:
// EventTarget implementation.

Powered by Google App Engine
This is Rietveld 408576698