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

Unified Diff: core/html/ImageData.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 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 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 107ce0b77b38f2f6fa1bfcf68f633e2252c2bfee..f6274b416126382b2f030157546c163041cc7087 100644
--- a/core/html/ImageData.idl
+++ b/core/html/ImageData.idl
@@ -26,18 +26,19 @@
* 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
+// https://html.spec.whatwg.org/#dom-imagedata
[
- Constructor(unsigned long width, unsigned long height),
- Constructor(Uint8ClampedArray data, unsigned long width, [Default=Undefined] optional unsigned long height),
- Custom=Wrap,
+ TypeChecking=Interface,
+ Constructor(unsigned long sw, unsigned long sh),
+ Constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh),
Exposed=(Window,Worker),
RaisesException=Constructor,
- WillBeGarbageCollected,
+ GarbageCollected,
] interface ImageData {
+ // TODO(philipj): width/height should be unsigned long.
readonly attribute long width;
readonly attribute long height;
-
- [DartCustom=New] readonly attribute Uint8ClampedArray data;
+ // TODO(philipj): Expose data.
+ // readonly attribute Uint8ClampedArray 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