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

Unified Diff: third_party/WebKit/public/platform/modules/presentation/presentation.mojom

Issue 2471263003: [Presentation API] (4th)(1-UA blink side) Add WebPresentationConnection and WebPresentationConnecti… (Closed)
Patch Set: PresentationConnectionProxy::Send() will be invoked from PresentationDispatcher Created 4 years, 1 month 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/public/platform/modules/presentation/presentation.mojom
diff --git a/third_party/WebKit/public/platform/modules/presentation/presentation.mojom b/third_party/WebKit/public/platform/modules/presentation/presentation.mojom
index 469cd72d35e559e0357ced5d46e2d8a225cd1c47..ee02b818f3dbba1a333dc94632beeddd1c45d741 100644
--- a/third_party/WebKit/public/platform/modules/presentation/presentation.mojom
+++ b/third_party/WebKit/public/platform/modules/presentation/presentation.mojom
@@ -62,7 +62,10 @@ interface PresentationConnection {
SetTargetConnection(PresentationConnection connection);
// Called when a message is sent by the target connection.
- OnMessage(SessionMessage message);
+ OnMessage(SessionMessage message) => (bool success);
+
+ // Called when target connection notifies connection state change.
+ DidChangeState(PresentationConnectionState state);
};
interface PresentationService {

Powered by Google App Engine
This is Rietveld 408576698