Chromium Code Reviews| Index: Source/modules/presentation/PresentationSession.h |
| diff --git a/Source/modules/presentation/PresentationSession.h b/Source/modules/presentation/PresentationSession.h |
| index 1fc4c309f8a8c8b0dbfa5ba1515fba0a31d0da8d..466e46f4bcef05ec9fa14ffe96e9849ce9e73a58 100644 |
| --- a/Source/modules/presentation/PresentationSession.h |
| +++ b/Source/modules/presentation/PresentationSession.h |
| @@ -6,6 +6,7 @@ |
| #define PresentationSession_h |
| #include "core/events/EventTarget.h" |
| +#include "core/fileapi/Blob.h" |
| #include "core/frame/DOMWindowProperty.h" |
| #include "public/platform/modules/presentation/WebPresentationSessionClient.h" |
| #include "wtf/text/WTFString.h" |
| @@ -16,6 +17,8 @@ class AtomicString; |
| namespace blink { |
| +class DOMArrayBuffer; |
| +class DOMArrayBufferView; |
| class Presentation; |
| class PresentationController; |
| @@ -39,7 +42,10 @@ public: |
| const String id() const { return m_id; } |
| const WTF::AtomicString& state() const; |
| - void postMessage(const String& message); |
| + void postMessage(const String& message, ExceptionState&); |
| + void postMessage(Blob* data, ExceptionState&); |
| + void postMessage(DOMArrayBuffer* data, ExceptionState&); |
|
mark a. foltz
2015/04/02 20:26:39
The declarations in RTCDataChannel.h pass the Arra
USE s.singapati at gmail.com
2015/04/07 15:49:00
Done.
|
| + void postMessage(DOMArrayBufferView* data, ExceptionState&); |
| void close(); |
| DEFINE_ATTRIBUTE_EVENT_LISTENER(message); |