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

Side by Side Diff: third_party/WebKit/Source/core/html/Float32ImageData.idl

Issue 2555213002: Implement color management for ImageData (Closed)
Patch Set: Fixing ImageData::validateConstructorArguments Created 3 years, 11 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 // https://github.com/junov/CanvasColorSpace/blob/master/CanvasColorSpaceProposa l.md#imagedata
6
7 [
8 Constructor(unsigned long sw, unsigned long sh),
9 Constructor(unsigned long sw, unsigned long sh, ImageDataColorSpace colorSpa ce),
10 Constructor(Float32Array data, unsigned long sw),
11 Constructor(Float32Array data, unsigned long sw, unsigned long sh),
12 Constructor(Float32Array data, unsigned long sw, unsigned long sh, ImageData ColorSpace colorSpace),
13
14 Exposed=(Window,Worker),
15 RaisesException=Constructor,
16 RuntimeEnabled=ExperimentalCanvasFeatures,
17 ] interface Float32ImageData {
18 readonly attribute unsigned long width;
19 readonly attribute unsigned long height;
20 readonly attribute Float32Array data;
21 readonly attribute ImageDataColorSpace colorSpace;
22 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/Float32ImageData.cpp ('k') | third_party/WebKit/Source/core/html/ImageData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698