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

Unified Diff: tests/html/interactive_test.dart

Issue 12670017: Incorporate Pete's comments on KeyboardEventStream. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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: tests/html/interactive_test.dart
diff --git a/tests/html/interactive_test.dart b/tests/html/interactive_test.dart
index ebc0ff238c61dd8ee68e27dc612bf41ef299eb1a..02d1dda9ab56f0dbd3b8895ff6889f8167f67ea5 100644
--- a/tests/html/interactive_test.dart
+++ b/tests/html/interactive_test.dart
@@ -125,13 +125,13 @@ main() {
' should be 0, and the keycode should (generally) be populated with a'
' value. Keycode and charcode should both have values for the '
'keypress event.';
- new KeyboardEventStream.onKeyDown(document.body).listen(
+ KeyboardEventStream.onKeyDown(document.body).listen(
keydownHandlerTest);
- new KeyboardEventStream.onKeyPress(document.body).listen(
+ KeyboardEventStream.onKeyPress(document.body).listen(
keypressHandlerTest);
- new KeyboardEventStream.onKeyUp(document.body).listen(
+ KeyboardEventStream.onKeyUp(document.body).listen(
keyupHandlerTest);
- new KeyboardEventStream.onKeyUp(document.body).listen(
+ KeyboardEventStream.onKeyUp(document.body).listen(
keyupHandlerTest2);
});
});

Powered by Google App Engine
This is Rietveld 408576698