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

Unified Diff: client/html/src/EventWrappingImplementation.dart

Issue 8363040: Implement measurement using futures (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: take2 Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
}

Powered by Google App Engine
This is Rietveld 408576698