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

Unified Diff: core/page/ImageBitmapFactories.idl

Issue 23014006: Roll IDL to multivm@1350 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 4 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/page/ImageBitmapCallback.idl ('k') | core/page/Performance.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/page/ImageBitmapFactories.idl
diff --git a/core/html/canvas/ANGLEInstancedArrays.idl b/core/page/ImageBitmapFactories.idl
similarity index 54%
copy from core/html/canvas/ANGLEInstancedArrays.idl
copy to core/page/ImageBitmapFactories.idl
index 2d257cce1b95600236192f9d02a397637b650ed2..65c0dc6c549e745ac0aa40e48e47f3fd08399998 100644
--- a/core/html/canvas/ANGLEInstancedArrays.idl
+++ b/core/page/ImageBitmapFactories.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Google Inc. All rights reserved.
+ * Copyright (c) 2013, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -30,11 +30,19 @@
[
NoInterfaceObject,
- DoNotCheckConstants
-] interface ANGLEInstancedArrays {
- const unsigned long VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
-
- [StrictTypeChecking] void drawArraysInstancedANGLE(unsigned long mode, long first, long count, long primcount);
- [StrictTypeChecking] void drawElementsInstancedANGLE(unsigned long mode, long count, unsigned long type, long long offset, long primcount);
- [StrictTypeChecking] void vertexAttribDivisorANGLE(unsigned long index, long divisor);
-};
+ EnabledAtRuntime=experimentalCanvasFeatures
+] interface ImageBitmapFactories {
+ // FIXME: these methods should return |Promise|. http://crbug.com/266700
+ [RaisesException] any createImageBitmap(HTMLImageElement image);
+ [RaisesException] any createImageBitmap(HTMLImageElement image, long sx, long sy, long sw, long sh);
+ [RaisesException] any createImageBitmap(HTMLVideoElement video);
+ [RaisesException] any createImageBitmap(HTMLVideoElement video, long sx, long sy, long sw, long sh);
+ [RaisesException] any createImageBitmap(CanvasRenderingContext2D context);
+ [RaisesException] any createImageBitmap(CanvasRenderingContext2D context, long sx, long sy, long sw, long sh);
+ [RaisesException] any createImageBitmap(HTMLCanvasElement canvas);
+ [RaisesException] any createImageBitmap(HTMLCanvasElement canvas, long sx, long sy, long sw, long sh);
+ [RaisesException] any createImageBitmap(ImageData data);
+ [RaisesException] any createImageBitmap(ImageData data, long sx, long sy, long sw, long sh);
+ [RaisesException] any createImageBitmap(ImageBitmap bitmap);
+ [RaisesException] any createImageBitmap(ImageBitmap bitmap, long sx, long sy, long sw, long sh);
+};
« no previous file with comments | « core/page/ImageBitmapCallback.idl ('k') | core/page/Performance.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698