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

Unified Diff: content/renderer/presentation/presentation_dispatcher.h

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/renderer/presentation/presentation_dispatcher.h
diff --git a/content/renderer/presentation/presentation_dispatcher.h b/content/renderer/presentation/presentation_dispatcher.h
index fb6b4d9a83b02147194dd362b33dc6e1ef65fec0..0f0645295e0c80e47402b7e60278d544a95bf32d 100644
--- a/content/renderer/presentation/presentation_dispatcher.h
+++ b/content/renderer/presentation/presentation_dispatcher.h
@@ -58,6 +58,9 @@ class CONTENT_EXPORT PresentationDispatcher
void OnSessionStateChange(
presentation::PresentationSessionInfoPtr session_info,
presentation::PresentationSessionState session_state);
+ void OnSessionTextMessageReceived(
+ presentation::PresentationSessionInfoPtr session_info,
+ const std::string& message);
void ConnectToPresentationServiceIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698