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

Unified Diff: Source/modules/presentation/Presentation.h

Issue 1092193003: [PresentationAPI] Added on-session-text-message handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Forward declare WebString in WebPresentationController.h 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
« no previous file with comments | « no previous file | Source/modules/presentation/Presentation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/presentation/Presentation.h
diff --git a/Source/modules/presentation/Presentation.h b/Source/modules/presentation/Presentation.h
index b703f5646a9c0fd6a71ddeaa7a37f578ab79877f..e74ece3bebc07c7199effdd0819b1ea59de9932a 100644
--- a/Source/modules/presentation/Presentation.h
+++ b/Source/modules/presentation/Presentation.h
@@ -67,6 +67,9 @@ public:
// Called when the |onstatechange| event needs to be fired to the right session.
void didChangeSessionState(WebPresentationSessionClient*, WebPresentationSessionState);
+ // Called when the |onmessage| event needs to be fired to the right session.
+ void didReceiveSessionTextMessage(WebPresentationSessionClient*, const String& message);
+
// Adds a session to the open sessions list.
void registerSession(PresentationSession*);
« no previous file with comments | « no previous file | Source/modules/presentation/Presentation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698