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

Side by Side Diff: chrome_frame/cfinstall/examples/local_testing.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
OLDNEW
(Empty)
1 <!--
2 Copyright 2011 Google Inc. All rights reserved.
3 -->
4 <html>
5 <head>
6 <script src='../out/CFInstall.min.js'> </script>
7 <script>
8 // This is only required if you are hosting your own copy of the
9 // implementation script and have not set the implementation path during
10 // compilation. (See build.sh -l 'PATH').
11 CFInstall.setImplementationUrl('../out/cf-xd-install-impl.js');
12
13 // The following are only required when running this example from a local
14 // file. The default behaviour is to use the same scheme as this page,
15 // which is file://, and thus wrong.
16 CFInstall.setDownloadPageUrl('http://google.com/chromeframe/eula.html');
17 CFInstall.setSameDomainResourceUri('http://example.com/robots.txt');
18 </script>
19 </head>
20 <body>
21 <b>Chrome Frame Installed?:</b>
22 <span class="labeled" id="ChromeInstalled"></span><br />
23 <p>
24 Note that Chrome Frame will never render local pages (i.e., from 'file://'
25 URLs). The above message will, however, tell you whether Chrome Frame is
26 installed.
27 </p>
28 <script>
29 document.getElementById('ChromeInstalled').innerHTML =
30 CFInstall.isAvailable() ? "Yes" : "No";
31 </script>
32 <p>
33 <a href="javascript:CFInstall.require()">
34 This site requires Google Chrome Frame. Click here to install it now.
35 </a>
36 </p>
37 </body>
38 </html>
OLDNEW
« no previous file with comments | « chrome_frame/cfinstall/examples/jquery.html ('k') | chrome_frame/cfinstall/examples/simple.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698