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 791c024244575502d017a4e1c967d2e430d55a79..dfdf634ac46ac22b0e0c63bd3793c4f34837f22a 100644 |
--- a/remoting/tools/javascript_key_tester/main.html |
+++ b/remoting/tools/javascript_key_tester/main.html |
@@ -9,20 +9,21 @@ found in the LICENSE file. |
<head> |
<title>Chrome AppsV2 Key Event Tester</title> |
<script src="chord_tracker.js"></script> |
+ <script src="event_listeners.js"></script> |
<script src="keyboard_map.js"></script> |
<script src="main.js"></script> |
<link rel="stylesheet" href="main.css"> |
</head> |
<body> |
<h2>Chrome AppsV2 Key Event Tester</h2> |
+ <div class="controls"> |
+ <button id="show-log">Debug log</button> |
+ <button id="clear-log">Clear logs</button> |
+ </div> |
<div id="pnacl-listener"> |
- PNaCl focus box: |
- <embed id="pnacl-plugin" width=100 height=12 |
+ <embed id="pnacl-plugin" width=0 height=0 |
src="remoting_key_tester.nmf" type="application/x-pnacl" /> |
- (click inside to get focus, yellow background means it has focus). |
</div> |
- <button id="clear-log">Clear logs</button> |
- <hr/> |
<div class="logs"> |
<div class="summary-log-container"> |
Summary of JavaScript logs: |
@@ -34,9 +35,13 @@ found in the LICENSE file. |
<div id="pnacl-log"> |
</div> |
</div> |
- <div class="text-log-container"> |
- Text log of JSON-ified events: |
- <div id="text-log"> |
+ <div id="text-log-container" hidden> |
+ <div> |
+ </div> |
+ <div class="controls"> |
+ <button id="hide-log">Close</button> |
+ </div> |
+ <div id="text-log" class="selectable"> |
</div> |
</div> |
</div> |