|
Adding streams to dart:html.
This exposes all DOM events as streams. This keeps the current DOM event syntax as well, I'd like to make sure this API is stable before deprecating the old syntax, then we'll remove it a while after that.
I made an initial stab at getting the event types correct for the streams, though it's not documented very well and frequently inconsistent between browsers. Hopefully it's close, and I imagine there will be changes to come.
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=17028
Total comments: 14
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+3769 lines, -6 lines) |
Patch |
|
M |
sdk/lib/html/dart2js/html_dart2js.dart
|
View
|
1
2
3
4
|
62 chunks |
+1380 lines, -4 lines |
0 comments
|
Download
|
|
M |
sdk/lib/html/dartium/html_dartium.dart
|
View
|
|
63 chunks |
+1382 lines, -2 lines |
0 comments
|
Download
|
|
M |
sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
View
|
1
2
|
9 chunks |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
|
View
|
1
2
|
9 chunks |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/svg/dart2js/svg_dart2js.dart
|
View
|
1
2
|
3 chunks |
+161 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/svg/dartium/svg_dartium.dart
|
View
|
1
2
|
3 chunks |
+161 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/html/streams_test.dart
|
View
|
1
2
3
4
|
1 chunk |
+174 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/scripts/htmleventgenerator.py
|
View
|
1
2
|
2 chunks |
+255 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/scripts/systemhtml.py
|
View
|
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
tools/dom/src/EventStreamProvider.dart
|
View
|
1
2
3
4
|
1 chunk |
+137 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/dart2js/html_dart2js.darttemplate
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/dart2js/svg_dart2js.darttemplate
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/dart2js/web_audio_dart2js.darttemplate
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/dartium/html_dartium.darttemplate
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/dartium/indexed_db_dartium.darttemplate
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/dartium/svg_dartium.darttemplate
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/dartium/web_audio_dartium.darttemplate
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|