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

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: resolve code review comments from Mark Created 4 years 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 d5f6dcdc43facd8857fe331432cd22173323606e..23db02bf307748d039ed02237289fa0619a71522 100644
--- a/third_party/WebKit/public/platform/modules/presentation/presentation.mojom
+++ b/third_party/WebKit/public/platform/modules/presentation/presentation.mojom
@@ -61,7 +61,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