OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 [PermissiveDictionaryConversion] |
| 6 dictionary CanvasRenderingContext2DSettings { |
| 7 boolean alpha = true; |
| 8 |
| 9 // TODO(crbug.com/637288): Do we keep "legacy-srgb" as the default? |
| 10 // Must decide before shipping. |
| 11 [RuntimeEnabled=ExperimentalCanvasFeatures] CanvasColorSpace colorSpace = "l
egacy-srgb"; |
| 12 [RuntimeEnabled=ExperimentalCanvasFeatures] CanvasPixelFormat pixelFormat =
"8-8-8-8"; |
| 13 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean linearPixelMath = false; |
| 14 }; |
| 15 |
OLD | NEW |