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

Unified Diff: tools/dom/idl/dart/dart.idl

Issue 14471026: Remove IDL overrides for DOM typed arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/idl/dart/dart.idl
diff --git a/tools/dom/idl/dart/dart.idl b/tools/dom/idl/dart/dart.idl
index 0c43d954760157ef1727fee66e0cf49ea15a6db0..063501589f16c1e5cfa743bf09609b29d9246758 100644
--- a/tools/dom/idl/dart/dart.idl
+++ b/tools/dom/idl/dart/dart.idl
@@ -165,80 +165,6 @@ interface CSSStyleDeclaration {
[DartName=_getPropertyValue] DOMString getPropertyValue(in DOMString propertyName);
};
-[Supplemental,
- Constructor(in long length)] // Add constructor signature.
-interface ArrayBuffer {
-};
-[Supplemental]
-interface Float32Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, optional unsigned long offset);
-};
-[Supplemental]
-interface Float64Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, optional unsigned long offset);
-};
-[Supplemental]
-interface Int16Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, optional unsigned long offset);
-};
-[Supplemental]
-interface Int32Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, optional unsigned long offset);
-};
-[Supplemental]
-interface Int8Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, optional unsigned long offset);
-};
-[Supplemental]
-interface Uint16Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, optional unsigned long offset);
-};
-[Supplemental]
-interface Uint32Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, optional unsigned long offset);
-};
-[Supplemental]
-interface Uint8Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, optional unsigned long offset);
-};
-
-[Supplemental]
-interface Uint8ClampedArray {
- // Avoid 'overriding static member BYTES_PER_ELEMENT'.
- [Suppressed] const long BYTES_PER_ELEMENT = 1;
-
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, optional unsigned long offset);
-};
-
-[Supplemental]
-interface DataView {
- // Undo this:
- // We have to use custom code because our code generator does not support int8_t type.
- // int8_t getInt8(in unsigned long byteOffset);
- // uint8_t getUint8(in unsigned long byteOffset);
- [Suppressed] any getInt8();
- [Suppressed] any getUint8();
- [RaisesException] byte getInt8(in unsigned long byteOffset);
- [RaisesException] octet getUint8(in unsigned long byteOffset);
-
- // We have to use custom code because our code generator does not support uint8_t type.
- // void setInt8(in unsigned long byteOffset, in int8_t value);
- // void setUint8(in unsigned long byteOffset, in uint8_t value);
- [Suppressed] void setInt8();
- [Suppressed] void setUint8();
- [RaisesException] void setInt8(in unsigned long byteOffset, in byte value);
- [RaisesException] void setUint8(in unsigned long byteOffset, in octet value);
-};
-
// TODO(vsm): Define new names for these (see b/4436830).
[Supplemental]
interface IDBCursor {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698