Charlie Mooney | bbc05f5 | 2015-03-24 13:36:22 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright (c) 2014 The Chromium OS Authors. All rights reserved. |
| 3 | Use of this source code is governed by a BSD-style license that can be |
| 4 | found in the LICENSE file. |
| 5 | --> |
| 6 | |
| 7 | <html> |
| 8 | <head> |
| 9 | <script src="webplot.js"></script> |
| 10 | </head> |
| 11 | |
| 12 | <body style="margin:0; padding:0; background-color:black" |
| 13 | onbeforeunload="quit()" |
| 14 | onload="createWS()" |
| 15 | onkeyup="keyupHandler()" |
| 16 | onresize="resizeCanvas()"> |
| 17 | |
| 18 | <div id="websocketUrl" hidden>%(websocketUrl)s</div> |
| 19 | <div id="touchMinX" hidden>%(touchMinX)s</div> |
| 20 | <div id="touchMaxX" hidden>%(touchMaxX)s</div> |
| 21 | <div id="touchMinY" hidden>%(touchMinY)s</div> |
| 22 | <div id="touchMaxY" hidden>%(touchMaxY)s</div> |
| 23 | <div id="touchMinPressure" hidden>%(touchMinPressure)s</div> |
| 24 | <div id="touchMaxPressure" hidden>%(touchMaxPressure)s</div> |
| 25 | <canvas id="canvasWebplot"></canvas> |
| 26 | |
| 27 | </body> |
| 28 | </html> |