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

Unified Diff: content/common/presentation/presentation_service.mojom

Issue 1084293004: [PresentationAPI] Added on-session-message handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: content/common/presentation/presentation_service.mojom
diff --git a/content/common/presentation/presentation_service.mojom b/content/common/presentation/presentation_service.mojom
index 36756e23a080698ec63f93627b099bba23d9750e..8010dc90347f252954e9c0f98aba6219b9f909a2 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -83,4 +83,8 @@ interface PresentationService {
ListenForSessionStateChange()
=> (PresentationSessionInfo sessionInfo,
PresentationSessionState newState);
+
+ // Called when the frame is ready to process the next text message.
+ ListenForSessionTextMessage()
whywhat 2015/04/23 16:52:27 The Mojo document has something like this: Listen
haibinlu 2015/04/25 00:05:14 Done. the callback parameter is array<SessionMessa
+ => (PresentationSessionInfo sessionInfo, string message);
whywhat 2015/04/23 16:52:27 Also consider making it a MessageRequest that woul
haibinlu 2015/04/25 00:05:14 Added SessionMessage, borrowed from send-message C
};
« no previous file with comments | « content/browser/presentation/presentation_service_impl.cc ('k') | content/renderer/presentation/presentation_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698