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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
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 "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "bindings/core/v8/SerializationTag.h" 9 #include "bindings/core/v8/SerializationTag.h"
10 #include "bindings/core/v8/SerializedScriptValue.h" 10 #include "bindings/core/v8/SerializedScriptValue.h"
11 #include "bindings/core/v8/V8Binding.h" 11 #include "bindings/core/v8/V8Binding.h"
12 #include "core/CoreExport.h" 12 #include "core/CoreExport.h"
13 #include "wtf/HashMap.h" 13 #include "wtf/HashMap.h"
14 #include "wtf/Noncopyable.h" 14 #include "wtf/Noncopyable.h"
15 #include "wtf/Vector.h" 15 #include "wtf/Vector.h"
16 #include "wtf/text/WTFString.h" 16 #include "wtf/text/WTFString.h"
17 #include "wtf/typed_arrays/ArrayBufferContents.h" 17 #include "wtf/typed_arrays/ArrayBufferContents.h"
18 #include <v8.h> 18 #include <v8.h>
19 19
20 namespace blink { 20 namespace blink {
21 21
22 class CompositorProxy; 22 class CompositorProxy;
23 class DOMArrayBuffer; 23 class DOMArrayBuffer;
24 class DOMArrayBufferView; 24 class DOMArrayBufferView;
25 class File; 25 class File;
26 class FileList; 26 class FileList;
27 class ImageData;
28 class StaticBitmapImage; 27 class StaticBitmapImage;
29 28
30 typedef Vector<WTF::ArrayBufferContents, 1> ArrayBufferContentsArray; 29 typedef Vector<WTF::ArrayBufferContents, 1> ArrayBufferContentsArray;
31 typedef Vector<RefPtr<StaticBitmapImage>, 1> ImageBitmapContentsArray; 30 typedef Vector<RefPtr<StaticBitmapImage>, 1> ImageBitmapContentsArray;
32 31
33 // V8ObjectMap is a map from V8 objects to arbitrary values of type T. 32 // V8ObjectMap is a map from V8 objects to arbitrary values of type T.
34 // V8 objects (or handles to V8 objects) cannot be used as keys in ordinary 33 // V8 objects (or handles to V8 objects) cannot be used as keys in ordinary
35 // wtf::HashMaps; this class should be used instead. GCObject must be a subtype 34 // wtf::HashMaps; this class should be used instead. GCObject must be a subtype
36 // of v8::Object. 35 // of v8::Object.
37 // Suggested usage: 36 // Suggested usage:
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 ArrayBufferContentsArray* m_arrayBufferContents; 675 ArrayBufferContentsArray* m_arrayBufferContents;
677 ImageBitmapContentsArray* m_imageBitmapContents; 676 ImageBitmapContentsArray* m_imageBitmapContents;
678 Vector<v8::Local<v8::Value>> m_arrayBuffers; 677 Vector<v8::Local<v8::Value>> m_arrayBuffers;
679 Vector<v8::Local<v8::Value>> m_imageBitmaps; 678 Vector<v8::Local<v8::Value>> m_imageBitmaps;
680 uint32_t m_version; 679 uint32_t m_version;
681 }; 680 };
682 681
683 } // namespace blink 682 } // namespace blink
684 683
685 #endif // ScriptValueSerializer_h 684 #endif // ScriptValueSerializer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698