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

Unified Diff: client/touch/EventUtil.dart

Issue 8404013: Add constructors to all the event classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerate release/html. 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
« no previous file with comments | « client/tests/client/samples/swarm/swarm_tests.dart ('k') | client/touch/Scrollbar.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/touch/EventUtil.dart
diff --git a/client/touch/EventUtil.dart b/client/touch/EventUtil.dart
index 0ff7c0c419a228fa556d0a0319f2cc287b7cc41f..5d137ad8c81dfe586cd73f2c7582240e0c84e6f6 100644
--- a/client/touch/EventUtil.dart
+++ b/client/touch/EventUtil.dart
@@ -25,13 +25,6 @@ class EventUtil {
}
}
- // TODO(jacobr): add a comment or remove this method.
- static Event createEvent(String eventType) {
- Event event = document.createEvent("HTMLEvents");
- event.initEvent(eventType, true, true);
- return event;
- }
-
/**
* Clear the keyboard focus of the currently focused element (if there is
* one). If there is no currently focused element then this function will do
« no previous file with comments | « client/tests/client/samples/swarm/swarm_tests.dart ('k') | client/touch/Scrollbar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698