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

Unified Diff: public/platform/modules/presentation/WebPresentationController.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 | « Source/modules/presentation/PresentationSession.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/modules/presentation/WebPresentationController.h
diff --git a/public/platform/modules/presentation/WebPresentationController.h b/public/platform/modules/presentation/WebPresentationController.h
index bcb31ef67f80b326788b7da274db968a84defd7e..a539e577ae9126a9446c70122995789c9c7a03de 100644
--- a/public/platform/modules/presentation/WebPresentationController.h
+++ b/public/platform/modules/presentation/WebPresentationController.h
@@ -10,6 +10,7 @@
namespace blink {
class WebPresentationSessionClient;
+class WebString;
enum class WebPresentationSessionState;
// The delegate Blink provides to WebPresentationClient in order to get updates.
@@ -30,6 +31,9 @@ public:
// Called when the state of a session changes.
virtual void didChangeSessionState(WebPresentationSessionClient*, WebPresentationSessionState) = 0;
+
+ // Called when a text message of a session is received.
+ virtual void didReceiveSessionTextMessage(WebPresentationSessionClient*, const WebString& message) = 0;
};
} // namespace blink
« no previous file with comments | « Source/modules/presentation/PresentationSession.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698