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

Unified Diff: tests/html/keyboard_event_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/keyboard_event_test.dart
diff --git a/tests/html/keyboard_event_test.dart b/tests/html/keyboard_event_test.dart
index 6f415f214783d7d7636506910613a1f6b70be30c..f7427351fda8d0cc4e5e40d7ceafd66b322f7534 100644
--- a/tests/html/keyboard_event_test.dart
+++ b/tests/html/keyboard_event_test.dart
@@ -23,7 +23,7 @@ main() {
// values (a KeyboardEvent can be "init"-ed but not all the information can
// be programmatically populated. It exists as an example for how to use
// KeyboardEventController more than anything else.
- new KeyboardEventStream.onKeyDown(document.body).listen(
+ KeyboardEventStream.onKeyDown(document.body).listen(
keydownHandlerTest);
KeyEvent.keyDownEvent.forTarget(document.body).listen(keydownHandlerTest);
document.body.onKeyDown.listen((e) => print('regular listener'));

Powered by Google App Engine
This is Rietveld 408576698