[Profiles, Fixit] Making GAIAInfoUpdateService into a ProfileKeyedService.
[chromium-blink-merge.git] / chrome_frame / host.html
bloba3da73cf5e16b8c672926e14ac9baf797e12e1e7
1 <HTML>
2 <!-- TODO(slightlyoff): Move to tests directory? -->
3 <HEAD>
4 <TITLE> Chrome Frame Test </TITLE>
5 <SCRIPT type="text/javascript">
6 function GetChromeFrame() {
7 var chromeFrame = window.document.ChromeFrame
8 return chromeFrame;
11 function OnChromeFrameMessage(text) {
12 window.alert("In host: \r\nMessage from ChromeFrame: " + text);
14 var chromeFrame = GetChromeFrame();
15 chromeFrame.PostMessageToFrame("Hello from host");
16 return "OK";
19 function OnNavigate() {
20 var url = document.getElementById('inputurl');
21 var chromeFrame = GetChromeFrame();
22 chromeFrame.src = url.value;
25 function onLoad() {
26 var chromeFrame = GetChromeFrame();
27 chromeFrame.onmessage = OnChromeFrameMessage;
30 </SCRIPT>
31 </HEAD>
32 <BODY onload="onLoad();">
33 Chrome Frame Test activex
34 <br><br>
35 <input id="inputurl" type="text" name="URL">
36 <input type="submit" value="Navigate" onClick="OnNavigate();">
37 <center>
38 <OBJECT ID="ChromeFrame" WIDTH=500 HEIGHT=500 CODEBASE="http://www.google.com"
39 CLASSID="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">
40 <PARAM NAME="src" VALUE="http://www.google.com">
41 <embed ID="ChromeFramePlugin" WIDTH=500 HEIGHT=500 NAME="ChromeFrame"
42 SRC="http://www.google.com" TYPE="application/chromeframe">
43 </embed>
44 </OBJECT>
45 </center>
46 </BODY>
47 </HTML>