(touchListArgs)
| 440 | |
| 441 | // Creates a TouchList, using native touch Api, for touch events. |
| 442 | function createNativeTouchList(touchListArgs) { |
| 443 | var touches = goog.array.map(touchListArgs, function (touchArg) { |
| 444 | return doc.createTouch(view, target, touchArg.identifier, |
| 445 | touchArg.pageX, touchArg.pageY, touchArg.screenX, touchArg.screenY); |
| 446 | }); |
| 447 | |
| 448 | return doc.createTouchList.apply(doc, touches); |
| 449 | } |
| 450 | |
| 451 | // Creates a TouchList, using simulated touch Api, for touch events. |
| 452 | function createGenericTouchList(touchListArgs) { |
no test coverage detected