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

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

Issue 2788373003: Convert colorSettings attribute in ImageData.idl to a getter method (Closed)
Patch Set: Addressing comments Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageData.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 29 matching lines...) Expand all
40 40
41 // The following createImageData functions are used instead of the regular c onstructors 41 // The following createImageData functions are used instead of the regular c onstructors
42 // as currently Blink IDL does not allow to put custom constructors behind a flag 42 // as currently Blink IDL does not allow to put custom constructors behind a flag
43 // (crbug.com/672978). These must be replaced with regular constructor decla ration 43 // (crbug.com/672978). These must be replaced with regular constructor decla ration
44 // as specified in the proposal before shipping. 44 // as specified in the proposal before shipping.
45 // https://github.com/WICG/canvas-color-space/blob/master/CanvasColorSpacePr oposal.md 45 // https://github.com/WICG/canvas-color-space/blob/master/CanvasColorSpacePr oposal.md
46 46
47 [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] ImageData creat eImageData(unsigned long sw, unsigned long sh, ImageDataColorSettings imageDataC olorSettings); 47 [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] ImageData creat eImageData(unsigned long sw, unsigned long sh, ImageDataColorSettings imageDataC olorSettings);
48 [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] ImageData creat eImageData(ImageDataArray data, unsigned long sw, unsigned long sh, ImageDataCol orSettings imageDataColorSettings); 48 [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] ImageData creat eImageData(ImageDataArray data, unsigned long sw, unsigned long sh, ImageDataCol orSettings imageDataColorSettings);
49 49
50 [RuntimeEnabled=ExperimentalCanvasFeatures] ImageDataColorSettings getColorS ettings();
51
50 readonly attribute unsigned long width; 52 readonly attribute unsigned long width;
51 readonly attribute unsigned long height; 53 readonly attribute unsigned long height;
52 readonly attribute Uint8ClampedArray data; 54 readonly attribute Uint8ClampedArray data;
53 [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute ImageDataArra y dataUnion; 55 [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute ImageDataArra y dataUnion;
54 [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute ImageDataColo rSettings colorSettings;
55 }; 56 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698