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

Side by Side Diff: LayoutTests/plugins/gesture-events-scrolled.html

Issue 732483003: Remove GestureScrollUpdateWithoutPropagation event (blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years 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 | « LayoutTests/plugins/gesture-events.html ('k') | Source/core/events/GestureEvent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 body { 4 body {
5 height: 2000px; 5 height: 2000px;
6 } 6 }
7 #plugin { 7 #plugin {
8 position: absolute; 8 position: absolute;
9 top: 500px; 9 top: 500px;
10 width: 150px; 10 width: 150px;
(...skipping 18 matching lines...) Expand all
29 // These events should not reach the plugin since it's futher down on th e page. 29 // These events should not reach the plugin since it's futher down on th e page.
30 eventSender.gestureShowPress(30, 30); 30 eventSender.gestureShowPress(30, 30);
31 eventSender.gestureShowPress(30, 530); 31 eventSender.gestureShowPress(30, 530);
32 32
33 // Send some gesture events to the plugin. 33 // Send some gesture events to the plugin.
34 var positionX = 30; 34 var positionX = 30;
35 var positionY = 110; 35 var positionY = 110;
36 eventSender.gestureTap(positionX, positionY); 36 eventSender.gestureTap(positionX, positionY);
37 eventSender.gestureScrollBegin(positionX, positionY); 37 eventSender.gestureScrollBegin(positionX, positionY);
38 eventSender.gestureScrollUpdate(30, 0); 38 eventSender.gestureScrollUpdate(30, 0);
39 eventSender.gestureScrollUpdateWithoutPropagation(30, 0); 39 eventSender.gestureScrollUpdate(30, 0, true);
40 eventSender.gestureScrollEnd(0, 0); 40 eventSender.gestureScrollEnd(0, 0);
41 } 41 }
42 42
43 </script> 43 </script>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW
« no previous file with comments | « LayoutTests/plugins/gesture-events.html ('k') | Source/core/events/GestureEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698