 Chromium Code Reviews
 Chromium Code Reviews Issue 1002293005:
  [PresentationAPI] Plumbing send() from PresentationSession IDL to platform/.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 1002293005:
  [PresentationAPI] Plumbing send() from PresentationSession IDL to platform/.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| Index: Source/modules/presentation/PresentationSession.h | 
| diff --git a/Source/modules/presentation/PresentationSession.h b/Source/modules/presentation/PresentationSession.h | 
| index 1fc4c309f8a8c8b0dbfa5ba1515fba0a31d0da8d..9f3fd3dce516574ff22b990a03b4d13cf50923c8 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" | 
| 
mark a. foltz
2015/04/10 18:31:09
You can forward declare this instead of including
 
USE s.singapati at gmail.com
2015/04/13 09:38:23
Done.
 | 
| #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 send(const String& message, ExceptionState&); | 
| + void send(Blob* data, ExceptionState&); | 
| + void send(PassRefPtr<DOMArrayBuffer> data, ExceptionState&); | 
| + void send(PassRefPtr<DOMArrayBufferView> data, ExceptionState&); | 
| void close(); | 
| DEFINE_ATTRIBUTE_EVENT_LISTENER(message); |