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

Unified Diff: public/platform/modules/presentation/WebPresentationController.h

Issue 1206513004: [PresentationAPI] on-session-message handler for binary messages (Blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: generic interface to receive binary messages. Created 5 years, 6 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: public/platform/modules/presentation/WebPresentationController.h
diff --git a/public/platform/modules/presentation/WebPresentationController.h b/public/platform/modules/presentation/WebPresentationController.h
index a539e577ae9126a9446c70122995789c9c7a03de..a02d8b53b98e7f7145d4ab53f6242ff14c91e827 100644
--- a/public/platform/modules/presentation/WebPresentationController.h
+++ b/public/platform/modules/presentation/WebPresentationController.h
@@ -34,6 +34,9 @@ public:
// Called when a text message of a session is received.
virtual void didReceiveSessionTextMessage(WebPresentationSessionClient*, const WebString& message) = 0;
+
+ // Called when a binary message of a session is received.
+ virtual void didReceiveSessionBinaryMessage(WebPresentationSessionClient*, const uint8_t* data, size_t length) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698