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

Side by Side Diff: chrome_frame/test/data/keyevent.html

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/test/data/javascript_redirect.html ('k') | chrome_frame/test/data/link.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <meta http-equiv="x-ua-compatible" content="chrome=1" />
4 <title>ChromeFrame keyevent test</title>
5 <script type="text/javascript"
6 src="chrome_frame_tester_helpers.js"></script>
7
8 <script type="text/javascript">
9 var input_string = "";
10
11 function OnKeyPress() {
12 appendStatus("Key pressed: " +
13 String.fromCharCode(event.keyCode).toString());
14 input_string += String.fromCharCode(event.keyCode).toString();
15
16 if (input_string.length >= 6) {
17 appendStatus("Sending message: " + input_string);
18 window.externalHost.postMessage(input_string);
19 }
20 }
21 </script>
22 </head>
23
24 <body onkeypress="OnKeyPress()">
25 ChromeFrame full tab mode keyboard test. Verifies that keypress events make
26 it correctly into ChromeFrame.
27 <div id="statusPanel" style="border: 1px solid red; width: 100%">
28 Keyboard test running....
29 </div>
30 </body>
31 </html>
OLDNEW
« no previous file with comments | « chrome_frame/test/data/javascript_redirect.html ('k') | chrome_frame/test/data/link.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698