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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 12036013: Initial work on ImageData.data. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/canvas_pixel_array_type_alias_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 4164d84d833208be120e0ee0103e2f6b60d5c89c..fa880a90243c0acd1ad723487a77a346ab056417 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -13770,21 +13770,27 @@ class IFrameElement extends _Element_Merged {
void set width(String value) native "HTMLIFrameElement_width_Setter";
}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
@DomName('ImageData')
+
class ImageData extends NativeFieldWrapperClass1 {
+ List<int> __data;
+
+ List<int> get data {
+ if (__data == null) {
+ __data = _data;
+ }
+ return __data;
+ }
+
ImageData.internal();
@DomName('ImageData.data')
@DocsEditable
- Uint8ClampedArray get data native "ImageData_data_Getter";
+ List<int> get _data native "ImageData_data_Getter";
@DomName('ImageData.height')
@DocsEditable
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/canvas_pixel_array_type_alias_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698