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

Side by Side Diff: Source/bindings/core/v8/SerializationTag.h

Issue 1024233002: compositor-worker: Introduce CompositorProxy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ctrl-z-bitfields Created 5 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/core/v8/ScriptValueSerializer.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 SerializationTag_h 5 #ifndef SerializationTag_h
6 #define SerializationTag_h 6 #define SerializationTag_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 // Serialization format is a sequence of tags followed by zero or more data argu ments. 10 // Serialization format is a sequence of tags followed by zero or more data argu ments.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // props = algorithmId:uint32_t, type:uint32_t, name dCurve:uint32_t 71 // props = algorithmId:uint32_t, type:uint32_t, name dCurve:uint32_t
72 ObjectReferenceTag = '^', // ref:uint32_t -> reference table[ref] 72 ObjectReferenceTag = '^', // ref:uint32_t -> reference table[ref]
73 GenerateFreshObjectTag = 'o', // -> empty object allocated an object ID and pushed onto the open stack (ref) 73 GenerateFreshObjectTag = 'o', // -> empty object allocated an object ID and pushed onto the open stack (ref)
74 GenerateFreshSparseArrayTag = 'a', // length:uint32_t -> empty array[length] allocated an object ID and pushed onto the open stack (ref) 74 GenerateFreshSparseArrayTag = 'a', // length:uint32_t -> empty array[length] allocated an object ID and pushed onto the open stack (ref)
75 GenerateFreshDenseArrayTag = 'A', // length:uint32_t -> empty array[length] allocated an object ID and pushed onto the open stack (ref) 75 GenerateFreshDenseArrayTag = 'A', // length:uint32_t -> empty array[length] allocated an object ID and pushed onto the open stack (ref)
76 ReferenceCountTag = '?', // refTableSize:uint32_t -> If the reference table is not refTableSize big, fails. 76 ReferenceCountTag = '?', // refTableSize:uint32_t -> If the reference table is not refTableSize big, fails.
77 StringObjectTag = 's', // string:RawString -> new String(string) (ref) 77 StringObjectTag = 's', // string:RawString -> new String(string) (ref)
78 NumberObjectTag = 'n', // value:double -> new Number(value) (ref) 78 NumberObjectTag = 'n', // value:double -> new Number(value) (ref)
79 TrueObjectTag = 'y', // new Boolean(true) (ref) 79 TrueObjectTag = 'y', // new Boolean(true) (ref)
80 FalseObjectTag = 'x', // new Boolean(false) (ref) 80 FalseObjectTag = 'x', // new Boolean(false) (ref)
81 CompositorProxyTag = 'C',
adamk 2015/05/19 21:38:53 Sorry for the month-late comment, but can you plea
sadrul 2015/05/23 23:53:43 Put up for review at: https://codereview.chromium.
81 VersionTag = 0xFF // version:uint32_t -> Uses this as the file version. 82 VersionTag = 0xFF // version:uint32_t -> Uses this as the file version.
82 }; 83 };
83 84
84 enum ArrayBufferViewSubTag { 85 enum ArrayBufferViewSubTag {
85 ByteArrayTag = 'b', 86 ByteArrayTag = 'b',
86 UnsignedByteArrayTag = 'B', 87 UnsignedByteArrayTag = 'B',
87 UnsignedByteClampedArrayTag = 'C', 88 UnsignedByteClampedArrayTag = 'C',
88 ShortArrayTag = 'w', 89 ShortArrayTag = 'w',
89 UnsignedShortArrayTag = 'W', 90 UnsignedShortArrayTag = 'W',
90 IntArrayTag = 'd', 91 IntArrayTag = 'd',
91 UnsignedIntArrayTag = 'D', 92 UnsignedIntArrayTag = 'D',
92 FloatArrayTag = 'f', 93 FloatArrayTag = 'f',
93 DoubleArrayTag = 'F', 94 DoubleArrayTag = 'F',
94 DataViewTag = '?' 95 DataViewTag = '?'
95 }; 96 };
96 97
97 } // namespace blink 98 } // namespace blink
98 99
99 #endif 100 #endif
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ScriptValueSerializer.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698