Commit Graph

6 Commits

Author SHA1 Message Date
blois@google.com 74909211e7 Adding event type getter to EventStreamProvider.
This makes it easier to dispatch custom events for a particular event.

BUG=8244

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18273 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 20:44:45 +00:00
blois@google.com f46672cb73 Converting tests over to using event streams.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17735 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 23:31:15 +00:00
blois@google.com d2aa044d2b Deprecating old DOM event APIs.
This also exposes EventTarget.dispatchEvent. We had discussed naming this as 'dispatch', but it seems a bit safer to use 'dispatchEvent' to avoid potential name conflicts.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17595 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:42:02 +00:00
blois@google.com edf1d5149f - Changing event constructors to use named parameters.
- Making more parameters optional.
- Converting remaining init*Event calls to constructors.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17488 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 19:43:21 +00:00
blois@google.com a4fd4b1888 Fixing dartc error about not using ~/ operator and FF test error.
TBR=siggi
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17173 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:31:18 +00:00
blois@google.com b97af1c4f3 Adding support for the MouseWheel event in Streams.
In order to test this I also needed to add a constructor for the MouseWheel event, which complicated things.

In general, wheel events are incredibly fragmented across browsers.

BUG=7919

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17172 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:06:35 +00:00