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

Issue 8404013: Add constructors to all the event classes. (Closed)

Created:
9 years, 1 month ago by nweiz
Modified:
9 years, 1 month ago
Reviewers:
jacob314, Jacob
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add constructors to all the event classes. Committed: https://code.google.com/p/dart/source/detail?r=914

Patch Set 1 #

Total comments: 10

Patch Set 2 : Code review changes. #

Patch Set 3 : Get rid of html testing stuff and fix uses of init*Event. #

Total comments: 3

Patch Set 4 : Change default values for canBubble and cancelable. #

Patch Set 5 : Regenerate release/html. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+961 lines, -1903 lines) Patch
D client/html/generated/src/interface/AnimationEvent.dart View 1 chunk +0 lines, -14 lines 0 comments Download
D client/html/generated/src/interface/BeforeLoadEvent.dart View 1 chunk +0 lines, -12 lines 0 comments Download
D client/html/generated/src/interface/CloseEvent.dart View 1 chunk +0 lines, -16 lines 0 comments Download
D client/html/generated/src/interface/CompositionEvent.dart View 1 chunk +0 lines, -12 lines 0 comments Download
D client/html/generated/src/interface/CustomEvent.dart View 1 chunk +0 lines, -12 lines 0 comments Download
D client/html/generated/src/interface/DeviceMotionEvent.dart View 1 chunk +0 lines, -10 lines 0 comments Download
D client/html/generated/src/interface/DeviceOrientationEvent.dart View 1 chunk +0 lines, -16 lines 0 comments Download
D client/html/generated/src/interface/ErrorEvent.dart View 1 chunk +0 lines, -16 lines 0 comments Download
D client/html/generated/src/interface/Event.dart View 1 chunk +0 lines, -80 lines 0 comments Download
D client/html/generated/src/interface/HashChangeEvent.dart View 1 chunk +0 lines, -14 lines 0 comments Download
D client/html/generated/src/interface/KeyboardEvent.dart View 1 chunk +0 lines, -570 lines 0 comments Download
D client/html/generated/src/interface/MessageEvent.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D client/html/generated/src/interface/MouseEvent.dart View 1 chunk +0 lines, -42 lines 0 comments Download
D client/html/generated/src/interface/MutationEvent.dart View 1 chunk +0 lines, -26 lines 0 comments Download
D client/html/generated/src/interface/OverflowEvent.dart View 1 chunk +0 lines, -22 lines 0 comments Download
D client/html/generated/src/interface/PageTransitionEvent.dart View 1 chunk +0 lines, -12 lines 0 comments Download
D client/html/generated/src/interface/PopStateEvent.dart View 1 chunk +0 lines, -12 lines 0 comments Download
D client/html/generated/src/interface/ProgressEvent.dart View 1 chunk +0 lines, -16 lines 0 comments Download
D client/html/generated/src/interface/StorageEvent.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D client/html/generated/src/interface/TextEvent.dart View 1 chunk +0 lines, -12 lines 0 comments Download
D client/html/generated/src/interface/TouchEvent.dart View 1 chunk +0 lines, -24 lines 0 comments Download
D client/html/generated/src/interface/TransitionEvent.dart View 1 chunk +0 lines, -14 lines 0 comments Download
D client/html/generated/src/interface/UIEvent.dart View 1 chunk +0 lines, -28 lines 0 comments Download
D client/html/generated/src/interface/WheelEvent.dart View 1 chunk +0 lines, -40 lines 0 comments Download
D client/html/generated/src/interface/XMLHttpRequestProgressEvent.dart View 1 chunk +0 lines, -12 lines 0 comments Download
D client/html/generated/src/wrapping/_AnimationEventWrappingImplementation.dart View 1 chunk +0 lines, -18 lines 0 comments Download
D client/html/generated/src/wrapping/_BeforeLoadEventWrappingImplementation.dart View 1 chunk +0 lines, -16 lines 0 comments Download
D client/html/generated/src/wrapping/_CloseEventWrappingImplementation.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D client/html/generated/src/wrapping/_CompositionEventWrappingImplementation.dart View 1 chunk +0 lines, -16 lines 0 comments Download
D client/html/generated/src/wrapping/_CustomEventWrappingImplementation.dart View 1 chunk +0 lines, -16 lines 0 comments Download
D client/html/generated/src/wrapping/_DeviceMotionEventWrappingImplementation.dart View 1 chunk +0 lines, -11 lines 0 comments Download
D client/html/generated/src/wrapping/_DeviceOrientationEventWrappingImplementation.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D client/html/generated/src/wrapping/_ErrorEventWrappingImplementation.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D client/html/generated/src/wrapping/_EventWrappingImplementation.dart View 1 chunk +0 lines, -55 lines 0 comments Download
D client/html/generated/src/wrapping/_HashChangeEventWrappingImplementation.dart View 1 chunk +0 lines, -18 lines 0 comments Download
D client/html/generated/src/wrapping/_KeyboardEventWrappingImplementation.dart View 1 chunk +0 lines, -32 lines 0 comments Download
D client/html/generated/src/wrapping/_MessageEventWrappingImplementation.dart View 1 chunk +0 lines, -24 lines 0 comments Download
D client/html/generated/src/wrapping/_MouseEventWrappingImplementation.dart View 1 chunk +0 lines, -46 lines 0 comments Download
D client/html/generated/src/wrapping/_MutationEventWrappingImplementation.dart View 1 chunk +0 lines, -24 lines 0 comments Download
D client/html/generated/src/wrapping/_OverflowEventWrappingImplementation.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D client/html/generated/src/wrapping/_PageTransitionEventWrappingImplementation.dart View 1 chunk +0 lines, -16 lines 0 comments Download
D client/html/generated/src/wrapping/_PopStateEventWrappingImplementation.dart View 1 chunk +0 lines, -16 lines 0 comments Download
D client/html/generated/src/wrapping/_ProgressEventWrappingImplementation.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D client/html/generated/src/wrapping/_StorageEventWrappingImplementation.dart View 1 chunk +0 lines, -24 lines 0 comments Download
D client/html/generated/src/wrapping/_TextEventWrappingImplementation.dart View 1 chunk +0 lines, -16 lines 0 comments Download
D client/html/generated/src/wrapping/_TouchEventWrappingImplementation.dart View 1 chunk +0 lines, -28 lines 0 comments Download
D client/html/generated/src/wrapping/_TransitionEventWrappingImplementation.dart View 1 chunk +0 lines, -18 lines 0 comments Download
D client/html/generated/src/wrapping/_UIEventWrappingImplementation.dart View 1 chunk +0 lines, -32 lines 0 comments Download
D client/html/generated/src/wrapping/_WheelEventWrappingImplementation.dart View 1 chunk +0 lines, -44 lines 0 comments Download
D client/html/generated/src/wrapping/_XMLHttpRequestProgressEventWrappingImplementation.dart View 1 chunk +0 lines, -13 lines 0 comments Download
M client/html/html.dart View 24 chunks +51 lines, -51 lines 0 comments Download
A + client/html/src/AnimationEvent.dart View 1 chunk +3 lines, -4 lines 0 comments Download
A client/html/src/AnimationEventWrappingImplementation.dart View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A + client/html/src/BeforeLoadEvent.dart View 1 chunk +2 lines, -4 lines 0 comments Download
A + client/html/src/BeforeLoadEventWrappingImplementation.dart View 1 2 3 1 chunk +8 lines, -8 lines 0 comments Download
A + client/html/src/CloseEvent.dart View 1 chunk +3 lines, -4 lines 0 comments Download
A client/html/src/CloseEventWrappingImplementation.dart View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A + client/html/src/CompositionEvent.dart View 1 chunk +3 lines, -4 lines 0 comments Download
A + client/html/src/CompositionEventWrappingImplementation.dart View 1 2 3 1 chunk +9 lines, -8 lines 0 comments Download
A + client/html/src/CustomEvent.dart View 1 chunk +2 lines, -4 lines 0 comments Download
A + client/html/src/CustomEventWrappingImplementation.dart View 1 2 3 1 chunk +8 lines, -8 lines 0 comments Download
A client/html/src/DeviceMotionEvent.dart View 1 1 chunk +12 lines, -0 lines 0 comments Download
A + client/html/src/DeviceMotionEventWrappingImplementation.dart View 1 2 3 1 chunk +9 lines, -4 lines 0 comments Download
A + client/html/src/DeviceOrientationEvent.dart View 1 chunk +3 lines, -4 lines 0 comments Download
A client/html/src/DeviceOrientationEventWrappingImplementation.dart View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A + client/html/src/ErrorEvent.dart View 1 chunk +3 lines, -4 lines 0 comments Download
A client/html/src/ErrorEventWrappingImplementation.dart View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A + client/html/src/Event.dart View 1 2 3 3 chunks +9 lines, -5 lines 0 comments Download
A client/html/src/EventWrappingImplementation.dart View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
A + client/html/src/HashChangeEvent.dart View 1 chunk +3 lines, -4 lines 0 comments Download
A client/html/src/HashChangeEventWrappingImplementation.dart View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A + client/html/src/KeyboardEvent.dart View 3 chunks +5 lines, -5 lines 0 comments Download
A client/html/src/KeyboardEventWrappingImplementation.dart View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A + client/html/src/MessageEvent.dart View 2 chunks +3 lines, -4 lines 0 comments Download
A + client/html/src/MessageEventWrappingImplementation.dart View 1 2 3 1 chunk +15 lines, -8 lines 0 comments Download
A + client/html/src/MouseEvent.dart View 2 chunks +5 lines, -4 lines 0 comments Download
A client/html/src/MouseEventWrappingImplementation.dart View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
A + client/html/src/MutationEvent.dart View 2 chunks +4 lines, -4 lines 0 comments Download
A client/html/src/MutationEventWrappingImplementation.dart View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A + client/html/src/OverflowEvent.dart View 2 chunks +2 lines, -4 lines 0 comments Download
A client/html/src/OverflowEventWrappingImplementation.dart View 1 1 chunk +20 lines, -0 lines 0 comments Download
A + client/html/src/PageTransitionEvent.dart View 1 chunk +3 lines, -4 lines 0 comments Download
A + client/html/src/PageTransitionEventWrappingImplementation.dart View 1 2 3 1 chunk +9 lines, -8 lines 0 comments Download
A + client/html/src/PopStateEvent.dart View 1 chunk +2 lines, -4 lines 0 comments Download
A + client/html/src/PopStateEventWrappingImplementation.dart View 1 2 3 1 chunk +8 lines, -8 lines 0 comments Download
A + client/html/src/ProgressEvent.dart View 1 chunk +3 lines, -4 lines 0 comments Download
A client/html/src/ProgressEventWrappingImplementation.dart View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A + client/html/src/StorageEvent.dart View 2 chunks +3 lines, -4 lines 0 comments Download
A client/html/src/StorageEventWrappingImplementation.dart View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A + client/html/src/TextEvent.dart View 1 chunk +3 lines, -4 lines 0 comments Download
A client/html/src/TextEventWrappingImplementation.dart View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A + client/html/src/TouchEvent.dart View 2 chunks +5 lines, -4 lines 0 comments Download
A client/html/src/TouchEventWrappingImplementation.dart View 1 1 chunk +32 lines, -0 lines 0 comments Download
A + client/html/src/TransitionEvent.dart View 1 chunk +3 lines, -4 lines 0 comments Download
A client/html/src/TransitionEventWrappingImplementation.dart View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A + client/html/src/UIEvent.dart View 2 chunks +3 lines, -4 lines 0 comments Download
A client/html/src/UIEventWrappingImplementation.dart View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
A + client/html/src/WheelEvent.dart View 2 chunks +4 lines, -4 lines 0 comments Download
A client/html/src/WheelEventWrappingImplementation.dart View 1 1 chunk +46 lines, -0 lines 0 comments Download
A + client/html/src/XMLHttpRequestProgressEvent.dart View 1 chunk +3 lines, -2 lines 0 comments Download
A client/html/src/XMLHttpRequestProgressEventWrappingImplementation.dart View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A client/tests/client/html/EventTests.dart View 1 2 3 1 chunk +205 lines, -0 lines 0 comments Download
M client/tests/client/html/html_tests.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M client/tests/client/samples/dartcombat/dartcombat_tests.dart View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M client/tests/client/samples/swarm/swarm_tests.dart View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M client/touch/EventUtil.dart View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M client/touch/Scrollbar.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M client/touch/Scroller.dart View 1 2 3 5 chunks +7 lines, -14 lines 0 comments Download
M client/touch/TouchUtil.dart View 1 2 3 chunks +0 lines, -21 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
nweiz
9 years, 1 month ago (2011-10-27 00:14:36 UTC) #1
Jacob
Looks good overall. You'll also need to correct all existing uses of init\w+Event in the ...
9 years, 1 month ago (2011-10-27 21:23:05 UTC) #2
nweiz
http://codereview.chromium.org/8404013/diff/1/client/html/src/AnimationEventWrappingImplementation.dart File client/html/src/AnimationEventWrappingImplementation.dart (right): http://codereview.chromium.org/8404013/diff/1/client/html/src/AnimationEventWrappingImplementation.dart#newcode8 client/html/src/AnimationEventWrappingImplementation.dart:8: AnimationEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} On 2011/10/27 21:23:05, jacobr wrote: ...
9 years, 1 month ago (2011-10-27 22:23:54 UTC) #3
Jacob
Same issue as previous CL. the manual swap back from dart:html to ../../html.dart is included ...
9 years, 1 month ago (2011-10-27 22:37:54 UTC) #4
Jacob
http://codereview.chromium.org/8404013/diff/8127/client/touch/EventUtil.dart File client/touch/EventUtil.dart (right): http://codereview.chromium.org/8404013/diff/8127/client/touch/EventUtil.dart#newcode29 client/touch/EventUtil.dart:29: static Event createEvent(String eventType) => take this a step ...
9 years, 1 month ago (2011-10-27 23:16:05 UTC) #5
nweiz
http://codereview.chromium.org/8404013/diff/8127/client/touch/EventUtil.dart File client/touch/EventUtil.dart (right): http://codereview.chromium.org/8404013/diff/8127/client/touch/EventUtil.dart#newcode29 client/touch/EventUtil.dart:29: static Event createEvent(String eventType) => On 2011/10/27 23:16:05, jacobr ...
9 years, 1 month ago (2011-10-27 23:47:23 UTC) #6
jacob314
9 years, 1 month ago (2011-10-28 04:34:05 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698