OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ScriptValueSerializer_h | 5 #ifndef ScriptValueSerializer_h |
6 #define ScriptValueSerializer_h | 6 #define ScriptValueSerializer_h |
7 | 7 |
8 #include "bindings/core/v8/SerializationTag.h" | 8 #include "bindings/core/v8/SerializationTag.h" |
9 #include "bindings/core/v8/SerializedScriptValue.h" | 9 #include "bindings/core/v8/SerializedScriptValue.h" |
10 #include "bindings/core/v8/V8Binding.h" | 10 #include "bindings/core/v8/V8Binding.h" |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 bool readUCharString(v8::Local<v8::Value>*); | 532 bool readUCharString(v8::Local<v8::Value>*); |
533 bool readStringObject(v8::Local<v8::Value>*); | 533 bool readStringObject(v8::Local<v8::Value>*); |
534 bool readInt32(v8::Local<v8::Value>*); | 534 bool readInt32(v8::Local<v8::Value>*); |
535 bool readDate(v8::Local<v8::Value>*); | 535 bool readDate(v8::Local<v8::Value>*); |
536 bool readNumber(v8::Local<v8::Value>*); | 536 bool readNumber(v8::Local<v8::Value>*); |
537 bool readNumberObject(v8::Local<v8::Value>*); | 537 bool readNumberObject(v8::Local<v8::Value>*); |
538 ImageData* doReadImageData(); | 538 ImageData* doReadImageData(); |
539 bool readImageData(v8::Local<v8::Value>*); | 539 bool readImageData(v8::Local<v8::Value>*); |
540 bool readImageBitmap(v8::Local<v8::Value>*); | 540 bool readImageBitmap(v8::Local<v8::Value>*); |
541 bool readCompositorProxy(v8::Local<v8::Value>*); | 541 bool readCompositorProxy(v8::Local<v8::Value>*); |
542 PassRefPtr<DOMArrayBuffer> doReadArrayBuffer(); | 542 DOMArrayBuffer* doReadArrayBuffer(); |
543 bool readArrayBuffer(v8::Local<v8::Value>*); | 543 bool readArrayBuffer(v8::Local<v8::Value>*); |
544 bool readArrayBufferView(v8::Local<v8::Value>*, ScriptValueCompositeCreator&
); | 544 bool readArrayBufferView(v8::Local<v8::Value>*, ScriptValueCompositeCreator&
); |
545 bool readRegExp(v8::Local<v8::Value>*); | 545 bool readRegExp(v8::Local<v8::Value>*); |
546 bool readBlob(v8::Local<v8::Value>*, bool isIndexed); | 546 bool readBlob(v8::Local<v8::Value>*, bool isIndexed); |
547 bool readFile(v8::Local<v8::Value>*, bool isIndexed); | 547 bool readFile(v8::Local<v8::Value>*, bool isIndexed); |
548 bool readFileList(v8::Local<v8::Value>*, bool isIndexed); | 548 bool readFileList(v8::Local<v8::Value>*, bool isIndexed); |
549 File* readFileHelper(); | 549 File* readFileHelper(); |
550 File* readFileIndexHelper(); | 550 File* readFileIndexHelper(); |
551 | 551 |
552 template<class T> | 552 template<class T> |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 ArrayBufferContentsArray* m_arrayBufferContents; | 641 ArrayBufferContentsArray* m_arrayBufferContents; |
642 ImageBitmapContentsArray* m_imageBitmapContents; | 642 ImageBitmapContentsArray* m_imageBitmapContents; |
643 Vector<v8::Local<v8::Value>> m_arrayBuffers; | 643 Vector<v8::Local<v8::Value>> m_arrayBuffers; |
644 Vector<v8::Local<v8::Value>> m_imageBitmaps; | 644 Vector<v8::Local<v8::Value>> m_imageBitmaps; |
645 uint32_t m_version; | 645 uint32_t m_version; |
646 }; | 646 }; |
647 | 647 |
648 } // namespace blink | 648 } // namespace blink |
649 | 649 |
650 #endif // ScriptValueSerializer_h | 650 #endif // ScriptValueSerializer_h |
OLD | NEW |