Chromium Code Reviews

Side by Side Diff: chrome_frame/frame_w_controls.html

Issue 218019: Initial import of the Chrome Frame codebase. Integration in chrome.gyp coming... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « chrome_frame/frame.html ('k') | chrome_frame/function_stub.h » ('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 <!-- TODO(slightlyoff): Move to tests directory? -->
3 <head>
4 <title>Script test</title>
5 <script>
6 function msg(txt) {
7 window.document.getElementById("my_text").innerText = txt;
8 }
9
10 function OnLoad() {
11 var host = window.externalHost;
12 host.ForwardMessageToExternalHost("OnChromeFrameMessage",
13 "Hello from ChromeFrame");
14 }
15
16 function OnHostMessage(text) {
17 msg("In ChromeFrame: \r\n Message from host: " + text);
18 }
19 </script>
20 </head>
21 <body onload="OnLoad();">
22 Here's an edit field: <input type="text"><br>
23 Here's another: <input type="text"><br>
24 <p>
25 Message:<br>
26 <pre><div id="my_text"></div></pre>
27 </p>
28 </body>
29 </html>
OLDNEW
« no previous file with comments | « chrome_frame/frame.html ('k') | chrome_frame/function_stub.h » ('j') | no next file with comments »

Powered by Google App Engine