| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 webTouchEvent.touches[0].position.x = clientPoint.x(); | 321 webTouchEvent.touches[0].position.x = clientPoint.x(); |
| 322 webTouchEvent.touches[0].position.y = clientPoint.y(); | 322 webTouchEvent.touches[0].position.y = clientPoint.y(); |
| 323 webTouchEvent.touches[0].radiusX = 10; | 323 webTouchEvent.touches[0].radiusX = 10; |
| 324 webTouchEvent.touches[0].radiusY = 10; | 324 webTouchEvent.touches[0].radiusY = 10; |
| 325 | 325 |
| 326 webView->handleInputEvent(webTouchEvent); | 326 webView->handleInputEvent(webTouchEvent); |
| 327 runPendingTasks(); | 327 runPendingTasks(); |
| 328 } | 328 } |
| 329 | 329 |
| 330 // crbug.com/411038 | 330 // crbug.com/411038 |
| 331 TEST_F(TouchActionTest, DISABLED_Simple) | 331 TEST_F(TouchActionTest, Simple) |
| 332 { | 332 { |
| 333 runTouchActionTest("touch-action-simple.html"); | 333 runTouchActionTest("touch-action-simple.html"); |
| 334 } | 334 } |
| 335 | 335 |
| 336 TEST_F(TouchActionTest, Overflow) | 336 TEST_F(TouchActionTest, Overflow) |
| 337 { | 337 { |
| 338 runTouchActionTest("touch-action-overflow.html"); | 338 runTouchActionTest("touch-action-overflow.html"); |
| 339 } | 339 } |
| 340 | 340 |
| 341 TEST_F(TouchActionTest, ShadowDOM) | 341 TEST_F(TouchActionTest, ShadowDOM) |
| 342 { | 342 { |
| 343 runShadowDOMTest("touch-action-shadow-dom.html"); | 343 runShadowDOMTest("touch-action-shadow-dom.html"); |
| 344 } | 344 } |
| 345 | 345 |
| 346 TEST_F(TouchActionTest, Pan) | 346 TEST_F(TouchActionTest, Pan) |
| 347 { | 347 { |
| 348 runTouchActionTest("touch-action-pan.html"); | 348 runTouchActionTest("touch-action-pan.html"); |
| 349 } | 349 } |
| 350 | 350 |
| 351 } | 351 } |
| OLD | NEW |