Commit Graph

9 Commits

Author SHA1 Message Date
blois@google.com e5caa173b5 Removing interfaces.
This converts all interfaces in dart:html to abstract classes and changes the factory providers from factory methods to static methods.

This CL represents the minimal initial change to remove interfaces, but there's quite a bit of further cleanup which can be done after this (eliminating the factory providers in favor of redirecting factory constructors).

Also I'll be splitting the dartdoc changes out to a separate CL since that's a fairly large change in itself.

BUG=4525

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12580 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 17:30:49 +00:00
antonm@google.com 1ce3d9003a Support sequence<T> as return type.
R=podivilov@chromium.org

Review URL: https://codereview.chromium.org//10911307

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12389 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 15:30:31 +00:00
antonm@google.com 5d81898a10 Support sequence<T> as native bindings arguments.
R=podivilov@chromium.org

Review URL: https://codereview.chromium.org//10905265

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12381 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 12:36:21 +00:00
antonm@google.com 48876ada8d Support proper parsing of sequence<T>.
And minor refactoring.

R=podivilov@chromium.org

Review URL: https://codereview.chromium.org//10916286

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12337 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 16:18:56 +00:00
antonm@google.com 5661fd2288 Also require v8 scope for ScriptValue.
For now only for any, will get added for others too.

TBR=podivilov@chromium.org

Review URL: https://codereview.chromium.org//10914261

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12325 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 13:06:37 +00:00
antonm@google.com 708d060ab8 Map any to ScriptValue.
At least that's the way IDB in WebKit does it.

TBR=podivilov@chromium.org

Review URL: https://codereview.chromium.org//10933071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12324 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 12:58:19 +00:00
antonm@google.com d8c1c3a830 Rework overloads/optionals dispatch to use new ?a syntax.
Also remove all the ugly hacks we used to have.

R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12118 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 14:58:55 +00:00
antonm@google.com f41e803c91 Render rest of arguments optional once met first optional argument.
Plus refactorings to signature generation.

R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12112 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 13:38:00 +00:00
efortuna@google.com 880f4d814a Remove lib/dom directory!
Review URL: https://chromiumcodereview.appspot.com//10913125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12082 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 23:52:00 +00:00