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

Unified Diff: client/html/src/TouchEvent.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
Index: client/html/src/TouchEvent.dart
diff --git a/client/html/generated/src/interface/TouchEvent.dart b/client/html/src/TouchEvent.dart
similarity index 56%
rename from client/html/generated/src/interface/TouchEvent.dart
rename to client/html/src/TouchEvent.dart
index 78b5ea436bbf3a927e3b5f474e58f458132d8b86..94147073e41637ef0e69362858a68ad19bda96ed 100644
--- a/client/html/generated/src/interface/TouchEvent.dart
+++ b/client/html/src/TouchEvent.dart
@@ -2,9 +2,12 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// WARNING: Do not edit - generated code.
+interface TouchEvent extends UIEvent factory TouchEventWrappingImplementation {
-interface TouchEvent extends UIEvent {
+ TouchEvent(TouchList touches, TouchList targetTouches,
+ TouchList changedTouches, String type, Window view, int screenX,
+ int screenY, int clientX, int clientY, [bool ctrlKey, bool altKey,
+ bool shiftKey, bool metaKey]);
bool get altKey();
@@ -19,6 +22,4 @@ interface TouchEvent extends UIEvent {
TouchList get targetTouches();
TouchList get touches();
-
- void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
}
« no previous file with comments | « client/html/src/TextEventWrappingImplementation.dart ('k') | client/html/src/TouchEventWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698