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 enum ImageOrientation { "none", "flipY" }; | 5 [RuntimeEnabled=ExperimentalCanvasFeatures] enum ImageOrientation { "none", "fli
pY" }; |
| 6 [RuntimeEnabled=ExperimentalCanvasFeatures] enum PremultiplyAlpha { "none", "def
ault" }; |
6 dictionary ImageBitmapOptions { | 7 dictionary ImageBitmapOptions { |
7 boolean premuiltiplyAlpha; | 8 [RuntimeEnabled=ExperimentalCanvasFeatures] PremultiplyAlpha premultiplyAlph
a = "default"; |
8 ImageOrientation imageOrientation = "none"; | 9 [RuntimeEnabled=ExperimentalCanvasFeatures] ImageOrientation imageOrientatio
n = "none"; |
9 }; | 10 }; |
OLD | NEW |