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

Unified Diff: Source/modules/presentation/PresentationSession.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: Source/modules/presentation/PresentationSession.h
diff --git a/Source/modules/presentation/PresentationSession.h b/Source/modules/presentation/PresentationSession.h
index 410fa047d9016fb8ce3394c5eaca0d3f918fc874..acc9699afe27951b3508a2b32a628b40165ac54e 100644
--- a/Source/modules/presentation/PresentationSession.h
+++ b/Source/modules/presentation/PresentationSession.h
@@ -59,8 +59,10 @@ public:
// Notifies the session about its state change.
void didChangeState(WebPresentationSessionState);
- // Notifies the session about new text message.
+ // Notifies the session about new message.
void didReceiveTextMessage(const String& message);
+ void didReceiveArrayBufferMessage(const uint8_t* data, size_t length);
+ void didReceiveBlobMessage(const uint8_t* data, size_t length);
private:
class BlobLoader;

Powered by Google App Engine
This is Rietveld 408576698