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

Issue 11931009: Adding support for the MouseWheel event in Streams. (Closed)

Created:
7 years, 11 months ago by blois
Modified:
7 years, 11 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

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 Committed: https://code.google.com/p/dart/source/detail?r=17172

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Adding more dynamic checking for which init function to use. #

Total comments: 1

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+401 lines, -5 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 6 chunks +142 lines, -2 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 3 chunks +41 lines, -1 line 0 comments Download
A tests/html/wheelevent_test.dart View 1 2 1 chunk +74 lines, -0 lines 0 comments Download
M tools/dom/scripts/htmlrenamer.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/dom/scripts/systemhtml.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/src/EventStreamProvider.dart View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M tools/dom/templates/html/impl/impl_WheelEvent.darttemplate View 1 2 3 chunks +110 lines, -1 line 1 comment Download

Messages

Total messages: 4 (0 generated)
blois
7 years, 11 months ago (2013-01-16 01:44:51 UTC) #1
Siggi Cherem (dart-lang)
probably my comments should be in the templates and not in the generated code, but ...
7 years, 11 months ago (2013-01-16 18:52:00 UTC) #2
blois
https://codereview.chromium.org/11931009/diff/9001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/11931009/diff/9001/sdk/lib/html/dart2js/html_dart2js.dart#newcode21816 sdk/lib/html/dart2js/html_dart2js.dart:21816: EventTarget relatedTarget = null]) { On 2013/01/16 18:52:00, Siggi ...
7 years, 11 months ago (2013-01-16 20:04:02 UTC) #3
Siggi Cherem (dart-lang)
7 years, 11 months ago (2013-01-16 21:46:42 UTC) #4
lgtm Thanks!

https://codereview.chromium.org/11931009/diff/2003/tools/dom/templates/html/i...
File tools/dom/templates/html/impl/impl_WheelEvent.darttemplate (right):

https://codereview.chromium.org/11931009/diff/2003/tools/dom/templates/html/i...
tools/dom/templates/html/impl/impl_WheelEvent.darttemplate:154: String type,
nit: ditto here on the convention

Powered by Google App Engine
This is Rietveld 408576698