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

Unified Diff: samples-dev/swarm/swarm_ui_lib/touch/TouchUtil.dart

Issue 2868423003: Fix swarm for non-integer Event timeStamps (Closed)
Patch Set: Created 3 years, 7 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 | « samples-dev/swarm/swarm_ui_lib/touch/TouchHandler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples-dev/swarm/swarm_ui_lib/touch/TouchUtil.dart
diff --git a/samples-dev/swarm/swarm_ui_lib/touch/TouchUtil.dart b/samples-dev/swarm/swarm_ui_lib/touch/TouchUtil.dart
index 106d29d7ad6eb2878dd3a8c05d0376058b6489c9..60ed6e4545f2a6f31460f7f88367bd0311b8ca0c 100644
--- a/samples-dev/swarm/swarm_ui_lib/touch/TouchUtil.dart
+++ b/samples-dev/swarm/swarm_ui_lib/touch/TouchUtil.dart
@@ -210,6 +210,10 @@ class MockTouch implements Touch {
throw new UnimplementedError();
}
+ String get region {
+ throw new UnimplementedError();
+ }
+
num get rotationAngle {
throw new UnimplementedError();
}
@@ -268,7 +272,8 @@ class MockTouchEvent implements TouchEvent {
EventTarget get target => wrapped.target;
- int get timeStamp => wrapped.timeStamp;
+ /*At different times, int, double, and String*/
+ get timeStamp => wrapped.timeStamp;
String get type => wrapped.type;
@@ -315,6 +320,14 @@ class MockTouchEvent implements TouchEvent {
throw new UnimplementedError();
}
+ List<EventTarget> deepPath() {
+ throw new UnimplementedError();
+ }
+
+ bool get isTrusted {
+ throw new UnimplementedError();
+ }
+
Point get layer {
throw new UnimplementedError();
}
@@ -331,10 +344,18 @@ class MockTouchEvent implements TouchEvent {
throw new UnimplementedError();
}
+ bool get scoped {
+ throw new UnimplementedError();
+ }
+
Point get screen {
throw new UnimplementedError();
}
+ /*InputDeviceCapabilities*/ get sourceCapabilities {
+ throw new UnimplementedError();
+ }
+
/*InputDevice*/ get sourceDevice {
throw new UnimplementedError();
}
« no previous file with comments | « samples-dev/swarm/swarm_ui_lib/touch/TouchHandler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698