Commit Graph

6 Commits

Author SHA1 Message Date
antonm@google.com 2806978be7 Rework static method support.
For now I just nuke them from all generators except for systemnative.

However, that remove two methods from DOMURL.  One of those should probably be a ctor.
The second one is funnier as it looks like legetimate static methods.

R=podivilov@chromium.org,sra@google.com

Review URL: https://chromiumcodereview.appspot.com//10334003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7320 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 11:05:29 +00:00
sra@google.com 4a81499920 Map IDBAny and IDBKey to Dynamic
Specialize printing of Dynamic depending on context.
Interfaces try to print it as /*IDLType*/ in operation signatures.
Generated C++ is unchanged.

Replace the arg_info tuple with a ParamInfo object.
Rename arg_infos to param_infos.

   void postMessage(Dynamic message, [List messagePorts]);
-> void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]);

   String createObjectURL(var blob_OR_stream);
-> String createObjectURL(blob_OR_stream);

   final Dynamic key;
-> final /*IDBKey*/ key;

   Dynamic strokeStyle;
-> var strokeStyle;

Review URL: https://chromiumcodereview.appspot.com//10107010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6665 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 23:20:28 +00:00
sra@google.com 1c23709150 Fix factory dart:html typed array providers for dartium.
Revert "Revert "Typed array constructors with optional buffer offset and length.""

This reverts commit 70b6f43f35d3c022187cdb0ce4d516811a2a5dd1.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9950037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6071 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 01:01:08 +00:00
sra@google.com 66fad61228 Revert "Typed array constructors with optional buffer offset and length."
This reverts commit aaa5353b16edf040e21fff712757cc14001b2562.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9969036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6070 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 00:00:52 +00:00
sra@google.com cf763cf868 Typed array constructors with optional buffer offset and length.
A fix for Issue 2331

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9969001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6069 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 23:36:52 +00:00
dgrove@google.com 7d558789d6 Rename client/{dom,html} to lib/{dom,html} .
Review URL: http://codereview.chromium.org//9845043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5840 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 16:29:54 +00:00