OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // https://html.spec.whatwg.org/#imagebitmapoptions | 5 // https://html.spec.whatwg.org/#imagebitmapoptions |
6 | 6 |
7 [RuntimeEnabled=ExperimentalCanvasFeatures] enum ImageOrientation { "none", "fli
pY" }; | 7 enum ImageOrientation { "none", "flipY" }; |
8 [RuntimeEnabled=ExperimentalCanvasFeatures] enum PremultiplyAlpha { "none", "pre
multiply", "default" }; | 8 enum PremultiplyAlpha { "none", "premultiply", "default" }; |
9 [RuntimeEnabled=ExperimentalCanvasFeatures] enum ColorspaceConversion { "none",
"default" }; | 9 enum ColorspaceConversion { "none", "default" }; |
10 dictionary ImageBitmapOptions { | 10 dictionary ImageBitmapOptions { |
11 [RuntimeEnabled=ExperimentalCanvasFeatures] ImageOrientation imageOrientatio
n = "none"; | 11 ImageOrientation imageOrientation = "none"; |
12 [RuntimeEnabled=ExperimentalCanvasFeatures] PremultiplyAlpha premultiplyAlph
a = "default"; | 12 PremultiplyAlpha premultiplyAlpha = "default"; |
13 [RuntimeEnabled=ExperimentalCanvasFeatures] ColorspaceConversion colorspaceC
onversion = "default"; | 13 ColorspaceConversion colorspaceConversion = "default"; |
14 }; | 14 }; |
OLD | NEW |