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

Side by Side Diff: remoting/tools/javascript_key_tester/main.html

Issue 884703006: Handling PNaCl KeyboardInputEvent(s) in the key tester app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 Copyright (c) 2014 The Chromium Authors. All rights reserved. 3 Copyright (c) 2014 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <html> 8 <html>
9 <head> 9 <head>
10 <title>Chrome AppsV2 Key Event Tester</title> 10 <title>Chrome AppsV2 Key Event Tester</title>
11 <script src="chord_tracker.js"></script> 11 <script src="chord_tracker.js"></script>
12 <script src="keyboard_map.js"></script> 12 <script src="keyboard_map.js"></script>
13 <script src="main.js"></script> 13 <script src="main.js"></script>
14 <link rel="stylesheet" href="main.css"> 14 <link rel="stylesheet" href="main.css">
15 </head> 15 </head>
16 <body> 16 <body>
17 <h2>Chrome AppsV2 Key Event Tester</h2> 17 <h2>Chrome AppsV2 Key Event Tester</h2>
18 <button id="clear-log">Clear log</button> 18 <div id="pnacl-listener">
19 <div id="key-log"> 19 PNaCl focus box:
20 <embed id="pnacl-plugin" width=100 height=12
21 src="remoting_key_tester.nmf" type="application/x-pnacl" />
22 (click inside to get focus, yellow background means it has focus).
23 </div>
24 <hr/>
25 <div class="logs">
26 <div class="log-container">
27 <button id="clear-javascript-log">Clear javascript logs</button>
28 <div id="javascript-log">
29 </div>
30 </div>
31 <div class="log-container">
32 Each line contains:
33 <ul>
34 <li>pp::InputEvent::GetType()</li>
35 <li>pp::InputEvent::GetModifiers()</li>
36 <li>pp::KeyboardInputEvent::GetKeyCode()</li>
37 <li>pp::KeyboardInputEvent::GetCharacterText()</li>
38 <li>pp::KeyboardInputEvent::GetCode()</li>
39 </ul>
40 <button id="clear-pnacl-log">Clear PNaCl logs</button>
41 <div id="pnacl-log">
42 </div>
20 </div> 43 </div>
21 </body> 44 </body>
22 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698