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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698