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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/serialization/SerializationTag.h

Issue 2874203003: Implement serialization/deserialization of geometry interfaces (Closed)
Patch Set: x Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
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
+ 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

Powered by Google App Engine
This is Rietveld 408576698