Chromium Code Reviews| Index: client/html/src/EventWrappingImplementation.dart |
| diff --git a/client/html/generated/src/wrapping/_EventWrappingImplementation.dart b/client/html/src/EventWrappingImplementation.dart |
| similarity index 92% |
| rename from client/html/generated/src/wrapping/_EventWrappingImplementation.dart |
| rename to client/html/src/EventWrappingImplementation.dart |
| index 0e6d27f25101a831b4a916be5f91195557990d8a..10c19a7797d35858d5e62849b79ff9724c4f3ba2 100644 |
| --- a/client/html/generated/src/wrapping/_EventWrappingImplementation.dart |
| +++ b/client/html/src/EventWrappingImplementation.dart |
| @@ -5,6 +5,9 @@ |
| // WARNING: Do not edit - generated code. |
| class EventWrappingImplementation extends DOMWrapperBase implements Event { |
| + |
| + bool _stoppedPropagation = false; |
|
arv (Not doing code reviews)
2011/10/27 03:16:13
What is this for?
Jacob
2011/10/27 20:59:25
Good catch. This is obsolete. I was trying to manu
|
| + |
| EventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| bool get bubbles() { return _ptr.bubbles; } |
| @@ -35,21 +38,20 @@ class EventWrappingImplementation extends DOMWrapperBase implements Event { |
| void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) { |
| _ptr.initEvent(eventTypeArg, canBubbleArg, cancelableArg); |
| - return; |
| } |
| void preventDefault() { |
| + _stoppedPropagation = true; |
| _ptr.preventDefault(); |
| - return; |
| } |
| void stopImmediatePropagation() { |
| + _stoppedPropagation = true; |
| _ptr.stopImmediatePropagation(); |
| - return; |
| } |
| void stopPropagation() { |
| + _stoppedPropagation = true; |
| _ptr.stopPropagation(); |
| - return; |
| } |
| } |