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

Unified Diff: core/html/ImageData.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/html/HTMLVideoElement.idl ('k') | core/html/MediaController.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/ImageData.idl
diff --git a/core/html/ImageData.idl b/core/html/ImageData.idl
index 06847999097b6b94586674ca8ec7d7459cefe45b..9aee728200a03b094a6bce4c24bebf8b5a0b2a3d 100644
--- a/core/html/ImageData.idl
+++ b/core/html/ImageData.idl
@@ -26,10 +26,18 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata
+
[
+ Constructor(unsigned long width, unsigned long height),
+ Constructor(Uint8ClampedArray data, unsigned long width, [Default=Undefined] optional unsigned long height),
Custom=Wrap,
+ Exposed=Window&Worker,
+ RaisesException=Constructor,
+ WillBeGarbageCollected,
] interface ImageData {
readonly attribute long width;
readonly attribute long height;
-};
+ [DartCustom=New] readonly attribute ArrayBufferView data;
+};
« no previous file with comments | « core/html/HTMLVideoElement.idl ('k') | core/html/MediaController.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698