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

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

Issue 9264057: Refresh dart:dom libraries from WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: CR changes Created 8 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 | « client/dom/generated/wrapping_dom_externs.js ('k') | client/dom/scripts/dartgenerator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/idl/dart/dart.idl
diff --git a/client/dom/idl/dart/dart.idl b/client/dom/idl/dart/dart.idl
index 17b53df0757c7b03f9e1f4414876490ade407d3e..0009ef6f739fe75b4bd15ef5a72e4736906c7a76 100644
--- a/client/dom/idl/dart/dart.idl
+++ b/client/dom/idl/dart/dart.idl
@@ -18,6 +18,9 @@ module default {
Uint8Array implements sequence<int>;
Uint16Array implements sequence<int>;
Uint32Array implements sequence<int>;
+
+ // Is List<int> because inherits from Uint8Array:
+ // Uint8ClampedArray implements sequence<int>;
}
module dom {
@@ -151,6 +154,15 @@ module canvas {
interface Uint8Array {
[DartName=setElements] void set(in any array, in optional unsigned long offset);
};
+
+ [Supplemental]
+ interface Uint8ClampedArray {
+ // Avoid 'overriding static member BYTES_PER_ELEMENT'.
+ [Suppressed] const unsigned int BYTES_PER_ELEMENT = 1;
+
+ [Suppressed] void set();
+ [DartName=setElements] void set(in any array, in optional unsigned long offset);
+ };
};
module storage {
« no previous file with comments | « client/dom/generated/wrapping_dom_externs.js ('k') | client/dom/scripts/dartgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698