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

Side by Side Diff: chrome/common/extensions/docs/samples.html

Issue 8318001: Adding `content_security_policy` to a few sample extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Docs. Zips. Created 9 years, 1 month 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
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
2 1) The <head> information in this page is significant, should be uniform 2 1) The <head> information in this page is significant, should be uniform
3 across api docs and should be edited only with knowledge of the 3 across api docs and should be edited only with knowledge of the
4 templating mechanism. 4 templating mechanism.
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
6 browser, it will be re-generated from the template, json schema and 6 browser, it will be re-generated from the template, json schema and
7 authored overview content. 7 authored overview content.
8 4) The <body>.innerHTML is also generated by an offline step so that this 8 4) The <body>.innerHTML is also generated by an offline step so that this
9 page may easily be indexed by search engines. 9 page may easily be indexed by search engines.
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 </li><li> 565 </li><li>
566 <code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript </a></code> 566 <code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript </a></code>
567 </li> 567 </li>
568 </ul> 568 </ul>
569 </div> 569 </div>
570 <div class="sourcefiles"><strong>Source files:</strong> 570 <div class="sourcefiles"><strong>Source files:</strong>
571 <ul> 571 <ul>
572 <li> 572 <li>
573 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/ba ckground.html?content-type=text/plain">background.html</a></code> 573 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/ba ckground.html?content-type=text/plain">background.html</a></code>
574 </li><li> 574 </li><li>
575 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/ba ckground.js?content-type=text/plain">background.js</a></code>
576 </li><li>
575 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/ma nifest.json?content-type=text/plain">manifest.json</a></code> 577 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/ma nifest.json?content-type=text/plain">manifest.json</a></code>
576 </li> 578 </li>
577 </ul> 579 </ul>
578 </div> 580 </div>
579 <div> 581 <div>
580 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/api/browserAction/make_page_red/">Browse sou rce</a> 582 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/api/browserAction/make_page_red/">Browse sou rce</a>
581 - <a href="examples/api/browserAction/make_page_red.zip">Download source</a> 583 - <a href="examples/api/browserAction/make_page_red.zip">Download source</a>
582 <!-- Only show the Install CRX link if a CRX file is provided --> 584 <!-- Only show the Install CRX link if a CRX file is provided -->
583 <span style="display: none; "> 585 <span style="display: none; ">
584 - <a>Install extension</a> 586 - <a>Install extension</a>
(...skipping 2088 matching lines...) Expand 10 before | Expand all | Expand 10 after
2673 </li><li> 2675 </li><li>
2674 <code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent </a></code> 2676 <code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent </a></code>
2675 </li> 2677 </li>
2676 </ul> 2678 </ul>
2677 </div> 2679 </div>
2678 <div class="sourcefiles"><strong>Source files:</strong> 2680 <div class="sourcefiles"><strong>Source files:</strong>
2679 <ul> 2681 <ul>
2680 <li> 2682 <li>
2681 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/windows/merge_windows/backgrou nd.html?content-type=text/plain">background.html</a></code> 2683 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/windows/merge_windows/backgrou nd.html?content-type=text/plain">background.html</a></code>
2682 </li><li> 2684 </li><li>
2685 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/windows/merge_windows/backgrou nd.js?content-type=text/plain">background.js</a></code>
2686 </li><li>
2683 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/windows/merge_windows/manifest .json?content-type=text/plain">manifest.json</a></code> 2687 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/windows/merge_windows/manifest .json?content-type=text/plain">manifest.json</a></code>
2684 </li> 2688 </li>
2685 </ul> 2689 </ul>
2686 </div> 2690 </div>
2687 <div> 2691 <div>
2688 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/api/windows/merge_windows/">Browse source</a > 2692 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/api/windows/merge_windows/">Browse source</a >
2689 - <a href="examples/api/windows/merge_windows.zip">Download source</a> 2693 - <a href="examples/api/windows/merge_windows.zip">Download source</a>
2690 <!-- Only show the Install CRX link if a CRX file is provided --> 2694 <!-- Only show the Install CRX link if a CRX file is provided -->
2691 <span style="display: none; "> 2695 <span style="display: none; ">
2692 - <a>Install extension</a> 2696 - <a>Install extension</a>
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
3615 </li><li> 3619 </li><li>
3616 <code><a href="windows.html#method-update">chrome.windows.update</a></co de> 3620 <code><a href="windows.html#method-update">chrome.windows.update</a></co de>
3617 </li> 3621 </li>
3618 </ul> 3622 </ul>
3619 </div> 3623 </div>
3620 <div class="sourcefiles"><strong>Source files:</strong> 3624 <div class="sourcefiles"><strong>Source files:</strong>
3621 <ul> 3625 <ul>
3622 <li> 3626 <li>
3623 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/processes/show_tabs/manifest.j son?content-type=text/plain">manifest.json</a></code> 3627 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/processes/show_tabs/manifest.j son?content-type=text/plain">manifest.json</a></code>
3624 </li><li> 3628 </li><li>
3629 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/processes/show_tabs/popup.css? content-type=text/plain">popup.css</a></code>
3630 </li><li>
3625 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/processes/show_tabs/popup.html ?content-type=text/plain">popup.html</a></code> 3631 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/processes/show_tabs/popup.html ?content-type=text/plain">popup.html</a></code>
3632 </li><li>
3633 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/processes/show_tabs/popup.js?c ontent-type=text/plain">popup.js</a></code>
3626 </li> 3634 </li>
3627 </ul> 3635 </ul>
3628 </div> 3636 </div>
3629 <div> 3637 <div>
3630 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/api/processes/show_tabs/">Browse source</a> 3638 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/api/processes/show_tabs/">Browse source</a>
3631 - <a href="examples/api/processes/show_tabs.zip">Download source</a> 3639 - <a href="examples/api/processes/show_tabs.zip">Download source</a>
3632 <!-- Only show the Install CRX link if a CRX file is provided --> 3640 <!-- Only show the Install CRX link if a CRX file is provided -->
3633 <span style="display: none; "> 3641 <span style="display: none; ">
3634 - <a>Install extension</a> 3642 - <a>Install extension</a>
3635 </span> 3643 </span>
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
3923 </li><li> 3931 </li><li>
3924 <code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></cod e> 3932 <code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></cod e>
3925 </li> 3933 </li>
3926 </ul> 3934 </ul>
3927 </div> 3935 </div>
3928 <div class="sourcefiles"><strong>Source files:</strong> 3936 <div class="sourcefiles"><strong>Source files:</strong>
3929 <ul> 3937 <ul>
3930 <li> 3938 <li>
3931 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.htm l?content-type=text/plain">background.html</a></code> 3939 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.htm l?content-type=text/plain">background.html</a></code>
3932 </li><li> 3940 </li><li>
3941 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.js? content-type=text/plain">background.js</a></code>
3942 </li><li>
3933 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/manifest.json? content-type=text/plain">manifest.json</a></code> 3943 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/manifest.json? content-type=text/plain">manifest.json</a></code>
3934 </li><li> 3944 </li><li>
3935 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/screenshot.htm l?content-type=text/plain">screenshot.html</a></code> 3945 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/screenshot.htm l?content-type=text/plain">screenshot.html</a></code>
3936 </li><li> 3946 </li><li>
3937 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/screenshot.js? content-type=text/plain">screenshot.js</a></code> 3947 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/screenshot.js? content-type=text/plain">screenshot.js</a></code>
3938 </li> 3948 </li>
3939 </ul> 3949 </ul>
3940 </div> 3950 </div>
3941 <div> 3951 <div>
3942 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/api/tabs/screenshot/">Browse source</a> 3952 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/api/tabs/screenshot/">Browse source</a>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
4029 </li><li> 4039 </li><li>
4030 <code><a href="tts.html#method-stop">chrome.tts.stop</a></code> 4040 <code><a href="tts.html#method-stop">chrome.tts.stop</a></code>
4031 </li> 4041 </li>
4032 </ul> 4042 </ul>
4033 </div> 4043 </div>
4034 <div class="sourcefiles"><strong>Source files:</strong> 4044 <div class="sourcefiles"><strong>Source files:</strong>
4035 <ul> 4045 <ul>
4036 <li> 4046 <li>
4037 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/extensions/ttsdebug/manifest.json? content-type=text/plain">manifest.json</a></code> 4047 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/extensions/ttsdebug/manifest.json? content-type=text/plain">manifest.json</a></code>
4038 </li><li> 4048 </li><li>
4049 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/extensions/ttsdebug/ttsdebug.css?c ontent-type=text/plain">ttsdebug.css</a></code>
4050 </li><li>
4039 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/extensions/ttsdebug/ttsdebug.html? content-type=text/plain">ttsdebug.html</a></code> 4051 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/extensions/ttsdebug/ttsdebug.html? content-type=text/plain">ttsdebug.html</a></code>
4040 </li><li> 4052 </li><li>
4041 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/extensions/ttsdebug/ttsdebug.js?co ntent-type=text/plain">ttsdebug.js</a></code> 4053 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/extensions/ttsdebug/ttsdebug.js?co ntent-type=text/plain">ttsdebug.js</a></code>
4042 </li> 4054 </li>
4043 </ul> 4055 </ul>
4044 </div> 4056 </div>
4045 <div> 4057 <div>
4046 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/extensions/ttsdebug/">Browse source</a> 4058 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/extensions/ttsdebug/">Browse source</a>
4047 - <a href="examples/extensions/ttsdebug.zip">Download source</a> 4059 - <a href="examples/extensions/ttsdebug.zip">Download source</a>
4048 <!-- Only show the Install CRX link if a CRX file is provided --> 4060 <!-- Only show the Install CRX link if a CRX file is provided -->
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
4195 </li> 4207 </li>
4196 </ul> 4208 </ul>
4197 </div> 4209 </div>
4198 <div class="sourcefiles"><strong>Source files:</strong> 4210 <div class="sourcefiles"><strong>Source files:</strong>
4199 <ul> 4211 <ul>
4200 <li> 4212 <li>
4201 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/_locales/e n/messages.json?content-type=text/plain">_locales/en/messages.json</a></code> 4213 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/_locales/e n/messages.json?content-type=text/plain">_locales/en/messages.json</a></code>
4202 </li><li> 4214 </li><li>
4203 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/background .html?content-type=text/plain">background.html</a></code> 4215 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/background .html?content-type=text/plain">background.html</a></code>
4204 </li><li> 4216 </li><li>
4217 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/background .js?content-type=text/plain">background.js</a></code>
4218 </li><li>
4205 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/manifest.j son?content-type=text/plain">manifest.json</a></code> 4219 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/manifest.j son?content-type=text/plain">manifest.json</a></code>
4206 </li><li> 4220 </li><li>
4207 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/navigation _collector.js?content-type=text/plain">navigation_collector.js</a></code> 4221 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/navigation _collector.js?content-type=text/plain">navigation_collector.js</a></code>
4208 </li><li> 4222 </li><li>
4223 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/popup.css? content-type=text/plain">popup.css</a></code>
4224 </li><li>
4209 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/popup.html ?content-type=text/plain">popup.html</a></code> 4225 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/popup.html ?content-type=text/plain">popup.html</a></code>
4226 </li><li>
4227 <code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/tru nk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/popup.js?c ontent-type=text/plain">popup.js</a></code>
4210 </li> 4228 </li>
4211 </ul> 4229 </ul>
4212 </div> 4230 </div>
4213 <div> 4231 <div>
4214 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/api/webNavigation/basic/">Browse source</a> 4232 <a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chr ome/common/extensions/docs/examples/api/webNavigation/basic/">Browse source</a>
4215 - <a href="examples/api/webNavigation/basic.zip">Download source</a> 4233 - <a href="examples/api/webNavigation/basic.zip">Download source</a>
4216 <!-- Only show the Install CRX link if a CRX file is provided --> 4234 <!-- Only show the Install CRX link if a CRX file is provided -->
4217 <span style="display: none; "> 4235 <span style="display: none; ">
4218 - <a>Install extension</a> 4236 - <a>Install extension</a>
4219 </span> 4237 </span>
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
4475 _uff=0; 4493 _uff=0;
4476 urchinTracker(); 4494 urchinTracker();
4477 } 4495 }
4478 catch(e) {/* urchinTracker not available. */} 4496 catch(e) {/* urchinTracker not available. */}
4479 </script> 4497 </script>
4480 <!-- end analytics --> 4498 <!-- end analytics -->
4481 </div> 4499 </div>
4482 </div> <!-- /gc-footer --> 4500 </div> <!-- /gc-footer -->
4483 </div> <!-- /gc-container --> 4501 </div> <!-- /gc-container -->
4484 </body></html> 4502 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/examples/extensions/ttsdebug/ttsdebug.js ('k') | chrome/common/extensions/docs/samples.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698