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

Unified Diff: third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.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
« no previous file with comments | « third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h
diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h
index 6457cf5f5c54be1c5119e9aff575b2d872525982..64f3e6e5f1e5b6721b723d335a6e98d9dae37286 100644
--- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h
+++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h
@@ -7,6 +7,8 @@
namespace blink {
+enum class WebPresentationConnectionState;
+
// The implementation the embedder has to provide for the Presentation API to
// work. This class is used to send messages to a PresentationConnection hosted
// in a different frame.
@@ -16,6 +18,9 @@ class WebPresentationConnectionProxy {
// Close target connection.
virtual void Close() const = 0;
+
+ // Notify target connection about connection state change.
+ virtual void NotifyTargetConnection(WebPresentationConnectionState) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698