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

Side by Side Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DSettings.idl

Issue 2708403003: Implement canvas color space IDL format for 2D canvas (Closed)
Patch Set: Fixing layout test failures Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698