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

Side by Side Diff: chrome/test/data/touchevents.html

Issue 2904113002: Replacing WM_TOUCH with WM_POINTER for touch events on Wins 8+ (Closed)
Patch Set: Add a browser test Created 3 years, 6 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <style>
4 body {
5 margin: 0px;
6 padding: 0px;
7 }
8 #mybox {
9 padding: 20px;
10 margin: 0px;
11 border: 1px solid #000;
12 }
13 #mystatus {
14 border: 1px solid #000;
15 padding: 20px;
16 margin: 0px;
17 }
18 </style>
19 <script>
20 var down_count = 0;
21 function load() {
22 document.title = "onload";
23 }
24 function pointerdown() {
25 down_count++;
26 document.title = "pointerdown " + down_count;
27 }
28 function pointermove() {
29 document.title = "pointermove";
30 }
31 function pointerup() {
32 document.title = "pointerup";
33 }
34 </script>
35 </head>
36 <body onload="load()">
37 <div id="mybox" onpointerdown="pointerdown()" onpointermove="pointermove()" on pointerup="pointerup()"></div>
38 <div id="mystatus"></div>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698