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

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: 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..efcb8bdf6b03bfc10ae533b48f09caec6101e91d 100644
--- a/public/platform/modules/presentation/WebPresentationController.h
+++ b/public/platform/modules/presentation/WebPresentationController.h
@@ -34,6 +34,12 @@ public:
// Called when a text message of a session is received.
virtual void didReceiveSessionTextMessage(WebPresentationSessionClient*, const WebString& message) = 0;
+
+ // Called when a array buffer message of a session is received.
+ virtual void didReceiveSessionArrayBufferMessage(WebPresentationSessionClient*, const uint8_t* data, size_t length) = 0;
+
+ // Called when a blob message of a session is received.
+ virtual void didReceiveSessionBlobMessage(WebPresentationSessionClient*, const uint8_t* data, size_t length) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698