Update device/bluetooth/OWNERS
[chromium-blink-merge.git] / chrome_frame / frame_w_controls.html
blobd80642f7c5a32385172ba29310da46ee6199bcb3
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;
10 function OnLoad() {
11 var host = window.externalHost;
12 host.ForwardMessageToExternalHost("OnChromeFrameMessage",
13 "Hello from ChromeFrame");
16 function OnHostMessage(text) {
17 msg("In ChromeFrame: \r\n Message from host: " + text);
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>