Index: remoting/tools/javascript_key_tester/main.html |
diff --git a/remoting/tools/javascript_key_tester/main.html b/remoting/tools/javascript_key_tester/main.html |
index 141b03b450b94ed5cabf6ce426f2e665b8a2ccf4..d76f4c8cfab8043a8973ed9c53cefccbb7522586 100644 |
--- a/remoting/tools/javascript_key_tester/main.html |
+++ b/remoting/tools/javascript_key_tester/main.html |
@@ -15,8 +15,31 @@ found in the LICENSE file. |
</head> |
<body> |
<h2>Chrome AppsV2 Key Event Tester</h2> |
- <button id="clear-log">Clear log</button> |
- <div id="key-log"> |
+ <div id="pnacl-listener"> |
+ PNaCl focus box: |
+ <embed id="pnacl-plugin" width=100 height=12 |
+ src="remoting_key_tester.nmf" type="application/x-pnacl" /> |
+ (click inside to get focus, yellow background means it has focus). |
+ </div> |
+ <hr/> |
+ <div class="logs"> |
+ <div class="log-container"> |
+ <button id="clear-javascript-log">Clear javascript logs</button> |
+ <div id="javascript-log"> |
+ </div> |
+ </div> |
+ <div class="log-container"> |
+ Each line contains: |
+ <ul> |
+ <li>pp::InputEvent::GetType()</li> |
+ <li>pp::InputEvent::GetModifiers()</li> |
+ <li>pp::KeyboardInputEvent::GetKeyCode()</li> |
+ <li>pp::KeyboardInputEvent::GetCharacterText()</li> |
+ <li>pp::KeyboardInputEvent::GetCode()</li> |
+ </ul> |
+ <button id="clear-pnacl-log">Clear PNaCl logs</button> |
+ <div id="pnacl-log"> |
+ </div> |
</div> |
</body> |
</html> |