| 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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 bool readArrayBufferViewSubTag(ArrayBufferViewSubTag*); | 520 bool readArrayBufferViewSubTag(ArrayBufferViewSubTag*); |
| 521 bool readString(v8::Local<v8::Value>*); | 521 bool readString(v8::Local<v8::Value>*); |
| 522 bool readUCharString(v8::Local<v8::Value>*); | 522 bool readUCharString(v8::Local<v8::Value>*); |
| 523 bool readStringObject(v8::Local<v8::Value>*); | 523 bool readStringObject(v8::Local<v8::Value>*); |
| 524 bool readInt32(v8::Local<v8::Value>*); | 524 bool readInt32(v8::Local<v8::Value>*); |
| 525 bool readDate(v8::Local<v8::Value>*); | 525 bool readDate(v8::Local<v8::Value>*); |
| 526 bool readNumber(v8::Local<v8::Value>*); | 526 bool readNumber(v8::Local<v8::Value>*); |
| 527 bool readNumberObject(v8::Local<v8::Value>*); | 527 bool readNumberObject(v8::Local<v8::Value>*); |
| 528 bool readImageData(v8::Local<v8::Value>*); | 528 bool readImageData(v8::Local<v8::Value>*); |
| 529 bool readCompositorProxy(v8::Local<v8::Value>*); | 529 bool readCompositorProxy(v8::Local<v8::Value>*); |
| 530 PassRefPtr<DOMArrayBuffer> doReadArrayBuffer(); | 530 PassRefPtr<DOMArrayBuffer> doReadArrayBufferOrNull(); |
| 531 bool readArrayBuffer(v8::Local<v8::Value>*); | 531 bool readArrayBuffer(v8::Local<v8::Value>*); |
| 532 bool readArrayBufferView(v8::Local<v8::Value>*, ScriptValueCompositeCreator&
); | 532 bool readArrayBufferView(v8::Local<v8::Value>*, ScriptValueCompositeCreator&
); |
| 533 bool readRegExp(v8::Local<v8::Value>*); | 533 bool readRegExp(v8::Local<v8::Value>*); |
| 534 bool readBlob(v8::Local<v8::Value>*, bool isIndexed); | 534 bool readBlob(v8::Local<v8::Value>*, bool isIndexed); |
| 535 bool readFile(v8::Local<v8::Value>*, bool isIndexed); | 535 bool readFile(v8::Local<v8::Value>*, bool isIndexed); |
| 536 bool readFileList(v8::Local<v8::Value>*, bool isIndexed); | 536 bool readFileList(v8::Local<v8::Value>*, bool isIndexed); |
| 537 File* readFileHelper(); | 537 File* readFileHelper(); |
| 538 File* readFileIndexHelper(); | 538 File* readFileIndexHelper(); |
| 539 | 539 |
| 540 template<class T> | 540 template<class T> |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 Vector<uint32_t> m_openCompositeReferenceStack; | 624 Vector<uint32_t> m_openCompositeReferenceStack; |
| 625 MessagePortArray* m_transferredMessagePorts; | 625 MessagePortArray* m_transferredMessagePorts; |
| 626 ArrayBufferContentsArray* m_arrayBufferContents; | 626 ArrayBufferContentsArray* m_arrayBufferContents; |
| 627 Vector<v8::Local<v8::Value>> m_arrayBuffers; | 627 Vector<v8::Local<v8::Value>> m_arrayBuffers; |
| 628 uint32_t m_version; | 628 uint32_t m_version; |
| 629 }; | 629 }; |
| 630 | 630 |
| 631 } // namespace blink | 631 } // namespace blink |
| 632 | 632 |
| 633 #endif // ScriptValueSerializer_h | 633 #endif // ScriptValueSerializer_h |
| OLD | NEW |