Chromium Code Reviews| Index: third_party/WebKit/Source/bindings/core/v8/serialization/SerializationTag.h |
| diff --git a/third_party/WebKit/Source/bindings/core/v8/serialization/SerializationTag.h b/third_party/WebKit/Source/bindings/core/v8/serialization/SerializationTag.h |
| index 948214628900ecec9ef1cb3d365e55230ad0842b..5372f1479870206d33aef37576465e110548447a 100644 |
| --- a/third_party/WebKit/Source/bindings/core/v8/serialization/SerializationTag.h |
| +++ b/third_party/WebKit/Source/bindings/core/v8/serialization/SerializationTag.h |
| @@ -59,7 +59,16 @@ enum SerializationTag { |
| kOffscreenCanvasTransferTag = 'H', // index, width, height, id:uint32_t -> |
| // OffscreenCanvas. For OffscreenCanvas |
| // transfer |
| - kCryptoKeyTag = 'K', // subtag:byte, props, usages:uint32_t, |
| + kDOMPointTag = 'Q', // x:Double, y:Double, z:Double, w:Double |
|
jbroman
2017/05/15 17:02:54
At times like these I wish we had just used consec
fserb
2017/05/15 17:52:16
Do those need to be printable chars? Or could I cr
jbroman
2017/05/15 18:00:30
They don't need to be printable, no. But the exist
|
| + kDOMPointReadOnlyTag = 'W', // x:Double, y:Double, z:Double, w:Double |
| + kDOMRectTag = 'E', // x:Double, y:Double, width:Double, height:Double |
| + kDOMRectReadOnlyTag = 'R', // x:Double, y:Double, width:Double, height:Double |
| + kDOMQuadTag = 'T', // p1:Double, p2:Double, p3:Double, p4:Double |
| + kDOMMatrixTag = 'Y', // m11..m44: 16 Double |
| + kDOMMatrixReadOnlyTag = 'U', // m11..m44: 16 Double |
| + kDOMMatrix2DTag = 'I', // a..f: 6 Double |
| + kDOMMatrix2DReadOnlyTag = 'O', // a..f: 6 Double |
| + kCryptoKeyTag = 'K', // subtag:byte, props, usages:uint32_t, |
| // keyDataLength:uint32_t, keyData:byte[keyDataLength] |
| // If subtag=AesKeyTag: |
| // props = keyLengthBytes:uint32_t, algorithmId:uint32_t |