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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of touch; 5 part of touch;
6 6
7 /** 7 /**
8 * Wraps a callback with translations of mouse events to touch events. Use 8 * Wraps a callback with translations of mouse events to touch events. Use
9 * this function to invoke your callback that expects touch events after 9 * this function to invoke your callback that expects touch events after
10 * touch events are created from the actual mouse events. 10 * touch events are created from the actual mouse events.
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 } 203 }
204 204
205 int get radiusX { 205 int get radiusX {
206 throw new UnimplementedError(); 206 throw new UnimplementedError();
207 } 207 }
208 208
209 int get radiusY { 209 int get radiusY {
210 throw new UnimplementedError(); 210 throw new UnimplementedError();
211 } 211 }
212 212
213 String get region {
214 throw new UnimplementedError();
215 }
216
213 num get rotationAngle { 217 num get rotationAngle {
214 throw new UnimplementedError(); 218 throw new UnimplementedError();
215 } 219 }
216 220
217 Point get screen { 221 Point get screen {
218 throw new UnimplementedError(); 222 throw new UnimplementedError();
219 } 223 }
220 224
221 num get webkitForce { 225 num get webkitForce {
222 throw new UnimplementedError(); 226 throw new UnimplementedError();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 int get eventPhase => wrapped.eventPhase; 265 int get eventPhase => wrapped.eventPhase;
262 266
263 void set returnValue(bool value) { 267 void set returnValue(bool value) {
264 wrapped.returnValue = value; 268 wrapped.returnValue = value;
265 } 269 }
266 270
267 bool get returnValue => wrapped.returnValue; 271 bool get returnValue => wrapped.returnValue;
268 272
269 EventTarget get target => wrapped.target; 273 EventTarget get target => wrapped.target;
270 274
271 int get timeStamp => wrapped.timeStamp; 275 /*At different times, int, double, and String*/
276 get timeStamp => wrapped.timeStamp;
272 277
273 String get type => wrapped.type; 278 String get type => wrapped.type;
274 279
275 void preventDefault() { 280 void preventDefault() {
276 wrapped.preventDefault(); 281 wrapped.preventDefault();
277 } 282 }
278 283
279 void stopImmediatePropagation() { 284 void stopImmediatePropagation() {
280 wrapped.stopImmediatePropagation(); 285 wrapped.stopImmediatePropagation();
281 } 286 }
(...skipping 26 matching lines...) Expand all
308 bool get ctrlKey => wrapped.ctrlKey; 313 bool get ctrlKey => wrapped.ctrlKey;
309 314
310 bool get metaKey => wrapped.metaKey; 315 bool get metaKey => wrapped.metaKey;
311 316
312 bool get shiftKey => wrapped.shiftKey; 317 bool get shiftKey => wrapped.shiftKey;
313 318
314 DataTransfer get clipboardData { 319 DataTransfer get clipboardData {
315 throw new UnimplementedError(); 320 throw new UnimplementedError();
316 } 321 }
317 322
323 List<EventTarget> deepPath() {
324 throw new UnimplementedError();
325 }
326
327 bool get isTrusted {
328 throw new UnimplementedError();
329 }
330
318 Point get layer { 331 Point get layer {
319 throw new UnimplementedError(); 332 throw new UnimplementedError();
320 } 333 }
321 334
322 Element get matchingTarget { 335 Element get matchingTarget {
323 throw new UnimplementedError(); 336 throw new UnimplementedError();
324 } 337 }
325 338
326 Point get page { 339 Point get page {
327 throw new UnimplementedError(); 340 throw new UnimplementedError();
328 } 341 }
329 342
330 List get path { 343 List get path {
331 throw new UnimplementedError(); 344 throw new UnimplementedError();
332 } 345 }
333 346
347 bool get scoped {
348 throw new UnimplementedError();
349 }
350
334 Point get screen { 351 Point get screen {
335 throw new UnimplementedError(); 352 throw new UnimplementedError();
336 } 353 }
337 354
355 /*InputDeviceCapabilities*/ get sourceCapabilities {
356 throw new UnimplementedError();
357 }
358
338 /*InputDevice*/ get sourceDevice { 359 /*InputDevice*/ get sourceDevice {
339 throw new UnimplementedError(); 360 throw new UnimplementedError();
340 } 361 }
341 } 362 }
OLDNEW
« 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