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

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

Issue 398005: Changes to follow the codesite L&F.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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>
11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> 12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
13 <link href="css/print.css" rel="stylesheet" type="text/css" media="print"> 13 <link href="css/print.css" rel="stylesheet" type="text/css" media="print">
14 <script type="text/javascript" src="../../../third_party/jstemplate/jstempla te_compiled.js"> 14 <script type="text/javascript" src="../../../third_party/jstemplate/jstempla te_compiled.js">
15 </script> 15 </script>
16 <script type="text/javascript" src="js/api_page_generator.js"></script> 16 <script type="text/javascript" src="js/api_page_generator.js"></script>
17 <script type="text/javascript" src="js/bootstrap.js"></script> 17 <script type="text/javascript" src="js/bootstrap.js"></script>
18 <title>Developer's Guide</title></head><body> <div id="container"> 18 <title>Developer's Guide</title></head><body> <div id="gc-container" class="l abs">
19 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> 19 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION -->
20 <!-- In particular, sub-templates that recurse, must be used by allowing 20 <!-- In particular, sub-templates that recurse, must be used by allowing
21 jstemplate to make a copy of the template in this section which 21 jstemplate to make a copy of the template in this section which
22 are not operated on by way of the jsskip="true" --> 22 are not operated on by way of the jsskip="true" -->
23 <div style="display:none"> 23 <div style="display:none">
24 24
25 <!-- VALUE --> 25 <!-- VALUE -->
26 <div id="valueTemplate"> 26 <div id="valueTemplate">
27 <dt> 27 <dt>
28 <var>paramName</var> 28 <var>paramName</var>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 <div> 61 <div>
62 <div> 62 <div>
63 </div> 63 </div>
64 </div> 64 </div>
65 </dl> 65 </dl>
66 </dd> 66 </dd>
67 </div> <!-- /VALUE --> 67 </div> <!-- /VALUE -->
68 68
69 </div> <!-- /SUBTEMPLATES --> 69 </div> <!-- /SUBTEMPLATES -->
70 70
71 <a name="top"> </a> 71 <a id="top"></a>
72 <div id="skipto">
73 <a href="#gc-pagecontent">Skip to page content</a>
74 <a href="#gc-toc">Skip to main navigation</a>
75 </div>
72 <!-- API HEADER --> 76 <!-- API HEADER -->
73 <div id="pageHeader"> 77 <div id="gc-header">
74 <div id="searchbox"> 78 <div id="logo">
75 <form action="http://www.google.com/cse" id="cse-search-box"> 79
76 <div> 80
81 <img src="images/code_labs_logo.gif" height="43" width="161" alt="Googl e Code Labs" style="border:0;">
82
83
84 </div>
85 <div id="search">
86 <div id="searchForm" class="searchForm">
87 <form action="http://www.google.com/cse" id="cse">
88 <div id="gsc-search-box">
77 <input type="hidden" name="cx" value="002967670403910741006:61_cvzfq tno"> 89 <input type="hidden" name="cx" value="002967670403910741006:61_cvzfq tno">
78 <input type="hidden" name="ie" value="UTF-8"> 90 <input type="hidden" name="ie" value="UTF-8">
79 <input type="text" name="q" size="31"> 91 <input type="text" name="q" size="31">
80 <input type="submit" name="sa" value="Search"> 92 <input class="gsc-search-button" type="submit" name="sa" value="Sear ch">
81 </div> 93 </div>
82 </form> 94 </form>
95 <p>&nbsp;</p>
96 </div> <!-- end searchForm -->
83 97
84 <script type="text/javascript" src="http://www.google.com/jsapi"></scrip t> 98 <script type="text/javascript" src="http://www.google.com/jsapi"></scrip t>
85 <script type="text/javascript">google.load("elements", "1", {packages: " transliteration"});</script> 99 <script type="text/javascript">google.load("elements", "1", {packages: " transliteration"});</script>
86 <script type="text/javascript" src="http://www.google.com/coop/cse/t13n? form=cse-search-box&amp;t13n_langs=en"></script> 100 <script type="text/javascript" src="http://www.google.com/coop/cse/t13n? form=cse&amp;t13n_langs=en"></script>
87 <script type="text/javascript" src="http://www.google.com/coop/cse/brand ?form=cse-search-box&amp;lang=en"></script> 101 <script type="text/javascript" src="http://www.google.com/coop/cse/brand ?form=cse&amp;lang=en"></script>
88 </div> 102 </div> <!-- end search -->
89 <div id="pageTitle"> 103 </div> <!-- end gc-header -->
90 <h1>Developer's Guide</h1>
91 </div>
92 </div> <!-- /pageHeader -->
93 104
94 <div id="pageContent"> 105 <div id="codesiteContent">
106
107 <a id="gc-topnav-anchor"></a>
108 <div id="gc-topnav">
109 <h1>Google Chrome Extensions (<a href="/labs/">Labs</a>)</h1>
110 <ul id="home" class="gc-topnav-tabs">
111 <li id="home_link">
112 <a href="index.html" class="selected" title="Google Chrome Extension s documentation home page">Home</a>
113 </li>
114 <li id="blog_link">
115 <a href="http://blog.chromium.org/" title="Chromium blog">Blog</a>
116 </li>
117 <li id="faq_link">
118 <a href="faq.html" title="Google Chrome Extensions FAQ">FAQ</a>
119 </li>
120 <li id="group_link">
121 <a href="http://groups.google.com/group/chromium-extensions" title=" Chromium-Extensions group">Group</a>
122 </li>
123 <li id="terms_link">
124 Terms
125 </li>
126 </ul>
127 </div> <!-- end gc-topnav -->
128
129 <div class="g-section g-tpl-170">
95 <!-- SIDENAV --> 130 <!-- SIDENAV -->
96 <div id="leftNav"> 131 <div class="g-unit g-first" id="gc-toc">
97 <ul> 132 <ul>
98 <li> <a href="index.html">Home</a></li> 133 <li><a href="index.html">Home</a></li>
99 <li> <a href="getstarted.html">Getting Started</a></li> 134 <li><a href="getstarted.html">Getting Started</a></li>
100 <li> <a href="overview.html">Overview</a></li> 135 <li><a href="overview.html">Overview</a></li>
101 <li><div class="leftNavSelected">Developer's Guide</div> 136 <li><h2><a href="devguide.html">Developer's Guide</a></h2>
102 <ul> 137 <ul>
103 <li> Browser UI 138 <li>Browser UI
104 <ul> 139 <ul>
105 <li><a href="browserAction.html">Browser Actions</a></li> 140 <li><a href="browserAction.html">Browser Actions</a></li>
106 <li><a href="options.html">Options Pages</a></li> 141 <li><a href="options.html">Options Pages</a></li>
107 <li><a href="override.html">Override Pages</a></li> 142 <li><a href="override.html">Override Pages</a></li>
108 <li><a href="pageAction.html">Page Actions</a></li> 143 <li><a href="pageAction.html">Page Actions</a></li>
109 <li><a href="themes.html">Themes</a></li> 144 <li><a href="themes.html">Themes</a></li>
110 </ul> 145 </ul>
111 </li> 146 </li>
112 <li> Browser Interaction 147 <li>Browser Interaction
113 <ul> 148 <ul>
114 <li><a href="bookmarks.html">Bookmarks</a></li> 149 <li><a href="bookmarks.html">Bookmarks</a></li>
115 <li><a href="events.html">Events</a></li> 150 <li><a href="events.html">Events</a></li>
116 <li><a href="tabs.html">Tabs</a></li> 151 <li><a href="tabs.html">Tabs</a></li>
117 <li><a href="windows.html">Windows</a></li> 152 <li><a href="windows.html">Windows</a></li>
118 </ul> 153 </ul>
119 </li> 154 </li>
120 <li> Implementation 155 <li>Implementation
121 <ul> 156 <ul>
122 <li><a href="background_pages.html">Background Pages</a></li> 157 <li><a href="background_pages.html">Background Pages</a></li>
123 <li><a href="content_scripts.html">Content Scripts</a></li> 158 <li><a href="content_scripts.html">Content Scripts</a></li>
124 <li><a href="xhr.html">Cross-Origin XHR</a></li> 159 <li><a href="xhr.html">Cross-Origin XHR</a></li>
125 <li><a href="messaging.html">Message Passing</a></li> 160 <li><a href="messaging.html">Message Passing</a></li>
126 <li><a href="npapi.html">NPAPI Plugins</a></li> 161 <li><a href="npapi.html">NPAPI Plugins</a></li>
127 </ul> 162 </ul>
128 </li> 163 </li>
129 <li> Finishing 164 <li>Finishing
130 <ul> 165 <ul>
131 <li><a href="autoupdate.html">Autoupdating</a></li> 166 <li><a href="autoupdate.html">Autoupdating</a></li>
132 <li><a href="packaging.html">Packaging</a></li> 167 <li><a href="packaging.html">Packaging</a></li>
133 </ul> 168 </ul>
134 </li> 169 </li>
135 </ul> 170 </ul>
136 </li> 171 </li>
137 <li><a href="tutorials.html"><div>Tutorials</div></a> 172 <li><h2><a href="tutorials.html">Tutorials</a></h2>
138 <ul> 173 <ul>
139 <li><a href="tut_debugging.html">Debugging</a></li> 174 <li><a href="tut_debugging.html">Debugging</a></li>
140 </ul> 175 </ul>
141 </li> 176 </li>
142 <li>Reference 177 <li><h2>Reference</h2>
143 <ul> 178 <ul>
144 <li> Formats 179 <li>Formats
145 <ul> 180 <ul>
146 <li><a href="manifest.html">Manifest Files</a></li> 181 <li><a href="manifest.html">Manifest Files</a></li>
147 <li><a href="match_patterns.html">Match Patterns</a></li> 182 <li><a href="match_patterns.html">Match Patterns</a></li>
148 <!-- <li>Packages (.crx)</li> --> 183 <!-- <li>Packages (.crx)</li> -->
149 </ul> 184 </ul>
150 </li> 185 </li>
151 <li> <a href="api_index.html">chrome.* APIs</a> </li> 186 <li><a href="api_index.html">chrome.* APIs</a></li>
152 <li> <a href="api_other.html">Other APIs</a> </li> 187 <li><a href="api_other.html">Other APIs</a></li>
153 </ul> 188 </ul>
154 </li> 189 </li>
155 <li><a href="samples.html">Samples</a></li> 190 <li><h2><a href="samples.html">Samples</a></h2></li>
156 </ul> 191 </ul>
157 </div> 192 </div>
158 193
159 <div id="mainColumn"> 194 <div class="g-unit" id="gc-pagecontent">
195 <div id="pageTitle">
196 <h1 class="page_title">Developer's Guide</h1>
197 </div>
160 <!-- TABLE OF CONTENTS --> 198 <!-- TABLE OF CONTENTS -->
161 <div id="toc" style="display: none; "> 199 <div id="toc" style="display: none; ">
162 <p>Contents</p> 200 <h2>Contents</h2>
163 <ol> 201 <ol>
164 <li> 202 <li>
165 <a>h2Name</a> 203 <a>h2Name</a>
166 <ol> 204 <ol>
167 <li> 205 <li>
168 <a>h3Name</a> 206 <a>h3Name</a>
169 </li> 207 </li>
170 </ol> 208 </ol>
171 </li> 209 </li>
172 <div> 210 <div>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 The following pages assume you've completed 259 The following pages assume you've completed
222 the <a href="getstarted.html">Getting Started</a> tutorial 260 the <a href="getstarted.html">Getting Started</a> tutorial
223 and <a href="overview.html">Overview</a>. 261 and <a href="overview.html">Overview</a>.
224 </p> 262 </p>
225 263
226 <table class="columns"> 264 <table class="columns">
227 <tbody><tr> 265 <tbody><tr>
228 <td colspan="2"><h4>Changing the Google Chrome chrome</h4></td> 266 <td colspan="2"><h4>Changing the Google Chrome chrome</h4></td>
229 </tr> 267 </tr>
230 <tr> 268 <tr>
269 <td colspan="2"> &nbsp;</td>
270 </tr>
271 <tr>
231 <td> <a href="browserAction.html">Browser&nbsp;Actions</a> </td> 272 <td> <a href="browserAction.html">Browser&nbsp;Actions</a> </td>
232 <td> Add icons to the toolbar </td> 273 <td> Add icons to the toolbar </td>
233 </tr> 274 </tr>
234 <tr> 275 <tr>
235 <td> <a href="options.html">Options&nbsp;Pages</a> </td> 276 <td> <a href="options.html">Options&nbsp;Pages</a> </td>
236 <td> Let users customize your extension </td> 277 <td> Let users customize your extension </td>
237 </tr> 278 </tr>
238 <tr> 279 <tr>
239 <td> <a href="override.html">Override&nbsp;Pages</a> </td> 280 <td> <a href="override.html">Override&nbsp;Pages</a> </td>
240 <td> Implement your own version of standard browser pages 281 <td> Implement your own version of standard browser pages
241 such as the New Tab page</td> 282 such as the New Tab page</td>
242 </tr> 283 </tr>
243 <tr> 284 <tr>
244 <td> <a href="pageAction.html">Page&nbsp;Actions</a> </td> 285 <td> <a href="pageAction.html">Page&nbsp;Actions</a> </td>
245 <td> Add temporary icons inside the address bar </td> 286 <td> Add temporary icons inside the address bar </td>
246 </tr> 287 </tr>
247 <tr> 288 <tr>
248 <td> <a href="themes.html">Themes</a> </td> 289 <td> <a href="themes.html">Themes</a> </td>
249 <td> Change the overall appearance of the browser </td> 290 <td> Change the overall appearance of the browser </td>
250 </tr> 291 </tr>
251 292
252 <tr> 293 <tr>
253 <td colspan="2"><h4>Interacting with Google Chrome in other ways</h4></td> 294 <td colspan="2"><h4>Interacting with Google Chrome in other ways</h4></td>
254 </tr> 295 </tr>
255 <tr> 296 <tr>
297 <td colspan="2"> &nbsp;</td>
298 </tr>
299 <tr>
256 <td> <a href="bookmarks.html">Bookmarks</a> </td> 300 <td> <a href="bookmarks.html">Bookmarks</a> </td>
257 <td> Create, organize, and otherwise manipulate the user's bookmarks </td> 301 <td> Create, organize, and otherwise manipulate the user's bookmarks </td>
258 </tr> 302 </tr>
259 <tr> 303 <tr>
260 <td> <a href="events.html">Events</a> </td> 304 <td> <a href="events.html">Events</a> </td>
261 <td> Detect when something interesting happens </td> 305 <td> Detect when something interesting happens </td>
262 </tr> 306 </tr>
263 <tr> 307 <tr>
264 <td> <a href="i18n.html">I18n</a> </td> 308 <td> <a href="i18n.html">I18n</a> </td>
265 <td> Deal with language and locale </td> 309 <td> Deal with language and locale </td>
266 </tr> 310 </tr>
267 <tr> 311 <tr>
268 <td> <a href="tabs.html">Tabs</a> </td> 312 <td> <a href="tabs.html">Tabs</a> </td>
269 <td> Create, modify, and rearrange tabs in the browser </td> 313 <td> Create, modify, and rearrange tabs in the browser </td>
270 </tr> 314 </tr>
271 <tr> 315 <tr>
272 <td> <a href="windows.html">Windows</a> </td> 316 <td> <a href="windows.html">Windows</a> </td>
273 <td> Create, modify, and rearrange windows in the browser </td> 317 <td> Create, modify, and rearrange windows in the browser </td>
274 </tr> 318 </tr>
275 319
276 <tr> 320 <tr>
277 <td colspan="2"><h4>Implementing the innards of your extension</h4></td> 321 <td colspan="2"><h4>Implementing the innards of your extension</h4></td>
278 </tr> 322 </tr>
279 <tr> 323 <tr>
324 <td colspan="2"> &nbsp;</td>
325 </tr>
326 <tr>
280 <td> <a href="background_pages.html">Background&nbsp;Pages</a> </td> 327 <td> <a href="background_pages.html">Background&nbsp;Pages</a> </td>
281 <td> Put all the common code for your extension in a single place </td> 328 <td> Put all the common code for your extension in a single place </td>
282 </tr> 329 </tr>
283 <tr> 330 <tr>
284 <td> <a href="content_scripts.html">Content&nbsp;Scripts</a> </td> 331 <td> <a href="content_scripts.html">Content&nbsp;Scripts</a> </td>
285 <td> Run JavaScript code in the context of web pages </td> 332 <td> Run JavaScript code in the context of web pages </td>
286 </tr> 333 </tr>
287 <tr> 334 <tr>
288 <td> <a href="xhr.html">Cross-Origin&nbsp;XHR</a> </td> 335 <td> <a href="xhr.html">Cross-Origin&nbsp;XHR</a> </td>
289 <td> Use XMLHttpRequest to send and receive data from remote servers </td> 336 <td> Use XMLHttpRequest to send and receive data from remote servers </td>
290 </tr> 337 </tr>
291 <tr> 338 <tr>
292 <td> <a href="messaging.html">Message&nbsp;Passing</a> </td> 339 <td> <a href="messaging.html">Message&nbsp;Passing</a> </td>
293 <td> Communicate from a content script to its parent extension, 340 <td> Communicate from a content script to its parent extension,
294 or vice versa.</td> 341 or vice versa.</td>
295 </tr> 342 </tr>
296 <tr> 343 <tr>
297 <td> <a href="npapi.html">NPAPI&nbsp;Plugins</a> </td> 344 <td> <a href="npapi.html">NPAPI&nbsp;Plugins</a> </td>
298 <td> Load native binary code </td> 345 <td> Load native binary code </td>
299 </tr> 346 </tr>
300 347
301 <tr> 348 <tr>
302 <td colspan="2"><h4>Finishing and distributing your extension</h4></td> 349 <td colspan="2"><h4>Finishing and distributing your extension</h4></td>
303 </tr> 350 </tr>
304 <tr> 351 <tr>
352 <td colspan="2"> &nbsp;</td>
353 </tr>
354 <tr>
305 <td> <a href="autoupdate.html">Autoupdating</a> </td> 355 <td> <a href="autoupdate.html">Autoupdating</a> </td>
306 <td> Update extensions automatically </td> 356 <td> Update extensions automatically </td>
307 </tr> 357 </tr>
308 <tr> 358 <tr>
309 <td> <a href="hosting.html">Hosting</a> </td> 359 <td> <a href="hosting.html">Hosting</a> </td>
310 <td> Host extensions on your own servers </td> 360 <td> Host extensions on your own servers </td>
311 </tr> 361 </tr>
312 <tr> 362 <tr>
313 <td> <a href="packaging.html">Packaging</a> </td> 363 <td> <a href="packaging.html">Packaging</a> </td>
314 <td> Create a .crx file so you can distribute your extension </td> 364 <td> Create a .crx file so you can distribute your extension </td>
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 <h4>type name</h4> 502 <h4>type name</h4>
453 503
454 <div> 504 <div>
455 </div> 505 </div>
456 506
457 </div> <!-- /apiItem --> 507 </div> <!-- /apiItem -->
458 508
459 </div> <!-- /apiGroup --> 509 </div> <!-- /apiGroup -->
460 510
461 </div> <!-- /apiPage --> 511 </div> <!-- /apiPage -->
462 </div> <!-- /mainColumn --> 512 </div> <!-- /gc-pagecontent -->
463 </div> <!-- /pageContent --> 513 </div> <!-- /g-section -->
464 <div id="pageFooter" --=""> 514 </div> <!-- /codesiteContent -->
515 <div id="gc-footer" --="">
516 <div class="text">
465 <p> 517 <p>
466 Except as otherwise <a href="http://code.google.com/policies.html#restrictions ">noted</a>, 518 Except as otherwise <a href="http://code.google.com/policies.html#restrictions ">noted</a>,
467 the content of this page is licensed under the <a rel="license" href="http://c reativecommons.org/licenses/by/3.0/">Creative Commons 519 the content of this page is licensed under the <a rel="license" href="http://c reativecommons.org/licenses/by/3.0/">Creative Commons
468 Attribution 3.0 License</a>, and code samples are licensed under the 520 Attribution 3.0 License</a>, and code samples are licensed under the
469 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic ense</a>. 521 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic ense</a>.
470 </p> 522 </p>
471 <p> 523 <p>
472 ©2009 Google 524 ©2009 Google
473 </p> 525 </p>
474 526
(...skipping 11 matching lines...) Expand all
486 // code.google.com site-wide tracking 538 // code.google.com site-wide tracking
487 try { 539 try {
488 _uacct="UA-18071-1"; 540 _uacct="UA-18071-1";
489 _uanchor=1; 541 _uanchor=1;
490 _uff=0; 542 _uff=0;
491 urchinTracker(); 543 urchinTracker();
492 } 544 }
493 catch(e) {/* urchinTracker not available. */} 545 catch(e) {/* urchinTracker not available. */}
494 </script> 546 </script>
495 <!-- end analytics --> 547 <!-- end analytics -->
496 548 </div>
497 </div> <!-- /pageFooter --> 549 </div> <!-- /gc-footer -->
498 </div> <!-- /container --> 550 </div> <!-- /gc-container -->
499 </body></html> 551 </body></html>
500 552
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/css/ApiRefStyles.css ('k') | chrome/common/extensions/docs/devtools.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698