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

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

Issue 8777002: Chrome Frame test fixes for Vista/IE7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ToT sync Created 9 years 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 | « no previous file | chrome_frame/test/data/chrome_frame_tester_helpers.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- saved from url=(0014)about:internet --> 1 <!-- saved from url=(0014)about:internet -->
2 <!-- Please preserve the CR/LF at the end of the previous line. --> 2 <!-- Please preserve the CR/LF at the end of the previous line. -->
3 <html> 3 <html>
4 <!-- This page is meant to load inside the host browser like IE/FF --> 4 <!-- This page is meant to load inside the host browser like IE/FF -->
5 <head> 5 <head>
6 <script type="text/javascript" src="chrome_frame_tester_helpers.js"></script> 6 <script type="text/javascript" src="chrome_frame_tester_helpers.js"></script>
7 <script type="text/javascript"> 7 <script type="text/javascript">
8 function onLoad() { 8 function onLoad() {
9 var chromeFrame = GetChromeFrame(); 9 var chromeFrame = GetChromeFrame();
10 chromeFrame.onmessage = OnChromeFrameResize; 10 chromeFrame.onmessage = OnChromeFrameResize;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 </head> 110 </head>
111 111
112 <body onload="onLoad();"> 112 <body onload="onLoad();">
113 <div id="description" style="border: 2px solid black; width: 100%"> 113 <div id="description" style="border: 2px solid black; width: 100%">
114 Test for resizing the chrome frame control. 114 Test for resizing the chrome frame control.
115 </div> 115 </div>
116 <div id="statusPanel" style="border: 1px solid red; width: 100%"> 116 <div id="statusPanel" style="border: 1px solid red; width: 100%">
117 Test running.... 117 Test running....
118 </div> 118 </div>
119 119
120 <object id="ChromeFrame" codebase="http://www.google.com" 120 <span id="ChromeFrameSpan"></span>
121 classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A" 121 <script type="text/javascript">
122 style="border: 1px solid blue"> 122 insertControl("ChromeFrameSpan",
123 <param name="onload" value="return OnNavigationSucceeded();" /> 123 { "width": null,
124 <embed id="ChromeFramePlugin" name="ChromeFrame" 124 "height": null,
125 onload="return OnNavigationSucceeded();" 125 "objectAttributes": { "style": "border: 1px solid blue" },
126 type="application/chromeframe" 126 "eventHandlers": { "onload": "return OnNavigationSucceeded();" },
127 style="border: 1px solid green"> 127 "embedAttributes": { "style": "border: 1px solid green" }
128 </embed> 128 });
129 </object> 129 </script>
130 <br /> 130 <br />
131 <br /> 131 <br />
132 132
133 <button onclick="javascript:DebugResizeChromeFrame(20);">Bigger</button> 133 <button onclick="javascript:DebugResizeChromeFrame(20);">Bigger</button>
134 <button onclick="javascript:DebugResizeChromeFrame(-20);">Smaller</button> 134 <button onclick="javascript:DebugResizeChromeFrame(-20);">Smaller</button>
135 135
136 </body> 136 </body>
137 </html> 137 </html>
138
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/test/data/chrome_frame_tester_helpers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698