| OLD | NEW |
| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 </li><li> | 251 </li><li> |
| 252 <a href="#key">key</a> | 252 <a href="#key">key</a> |
| 253 </li><li> | 253 </li><li> |
| 254 <a href="#minimum_chrome_version">minimum_chrome_version</a> | 254 <a href="#minimum_chrome_version">minimum_chrome_version</a> |
| 255 </li><li> | 255 </li><li> |
| 256 <a href="#name">name</a> | 256 <a href="#name">name</a> |
| 257 </li><li> | 257 </li><li> |
| 258 <a href="#permissions">permissions</a> | 258 <a href="#permissions">permissions</a> |
| 259 </li><li> | 259 </li><li> |
| 260 <a href="#version">version</a> | 260 <a href="#version">version</a> |
| 261 </li><li> |
| 262 <a href="#incognito">incognito</a> |
| 261 </li> | 263 </li> |
| 262 </ol> | 264 </ol> |
| 263 </li> | 265 </li> |
| 264 <li style="display: none; "> | 266 <li style="display: none; "> |
| 265 <a href="#apiReference">API reference</a> | 267 <a href="#apiReference">API reference</a> |
| 266 <ol> | 268 <ol> |
| 267 <li> | 269 <li> |
| 268 <a href="#properties">Properties</a> | 270 <a href="#properties">Properties</a> |
| 269 <ol> | 271 <ol> |
| 270 <li> | 272 <li> |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 <em>// Add any of these that you need</em> | 347 <em>// Add any of these that you need</em> |
| 346 "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", | 348 "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", |
| 347 "<a href="override.html">chrome_url_overrides</a>": {...}, | 349 "<a href="override.html">chrome_url_overrides</a>": {...}, |
| 348 "<a href="content_scripts.html">content_scripts</a>": [...], | 350 "<a href="content_scripts.html">content_scripts</a>": [...], |
| 349 "<a href="#key">key</a>": "<em>publicKey</em>", | 351 "<a href="#key">key</a>": "<em>publicKey</em>", |
| 350 "<a href="#minimum_chrome_version">minimum_chrome_version</a>": "<em>versionSt
ring</em>", | 352 "<a href="#minimum_chrome_version">minimum_chrome_version</a>": "<em>versionSt
ring</em>", |
| 351 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", | 353 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", |
| 352 "<a href="#permissions">permissions</a>": [...], | 354 "<a href="#permissions">permissions</a>": [...], |
| 353 "<a href="npapi.html">plugins</a>": [...], | 355 "<a href="npapi.html">plugins</a>": [...], |
| 354 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em
>.xml" | 356 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em
>.xml" |
| 357 "<a href="#incognito">incognito</a>": "<em>split</em> or <em>spanning</em>", |
| 355 } | 358 } |
| 356 </pre> | 359 </pre> |
| 357 | 360 |
| 358 | 361 |
| 359 <a name="H2-1"></a><h2>Field details</h2> | 362 <a name="H2-1"></a><h2>Field details</h2> |
| 360 | 363 |
| 361 <p> | 364 <p> |
| 362 This section covers fields that aren't described in another page. | 365 This section covers fields that aren't described in another page. |
| 363 For a complete list of fields, | 366 For a complete list of fields, |
| 364 with links to where they're described in detail, | 367 with links to where they're described in detail, |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 <p> | 671 <p> |
| 669 A missing integer is equal to zero. | 672 A missing integer is equal to zero. |
| 670 For example, 1.1.9.9999 is newer than 1.1. | 673 For example, 1.1.9.9999 is newer than 1.1. |
| 671 </p> | 674 </p> |
| 672 | 675 |
| 673 <p> | 676 <p> |
| 674 For more information, see | 677 For more information, see |
| 675 <a href="autoupdate.html">Autoupdating</a>. | 678 <a href="autoupdate.html">Autoupdating</a>. |
| 676 </p> | 679 </p> |
| 677 | 680 |
| 681 <h3 id="incognito">incognito</h3> |
| 682 |
| 683 <p> |
| 684 Either <em>split</em> or <em>spanning</em>, to specify how this extension will |
| 685 behave if allowed to run in incognito. |
| 686 </p> |
| 687 |
| 688 <p> |
| 689 <em>spanning</em> is the default for extensions, and means that the extension |
| 690 will run in a single shared process. Any events or messages from an incognito |
| 691 tab will be sent to the shared process, with an <em>incognito</em> flag |
| 692 indicating where it came from. |
| 693 </p> |
| 694 |
| 695 <p> |
| 696 <em>split</em> is the default for apps, and it means that all app pages in |
| 697 an incognito window will run in their own incognito process. If the app or exten
sion contains a background page, that will also run in the incognito process. |
| 698 This incognito process runs along side the regular process, but has a separate |
| 699 memory-only cookie store. Each process sees events and messages only from its |
| 700 own context (e.g. the incognito process will only see incognito tab updates). |
| 701 The processes are unable to communicate with each other. |
| 702 </p> |
| 703 |
| 704 <p> |
| 705 As a rule of thumb, if your extension or app needs to load a tab in an incognito
browser, use |
| 706 <em>split</em> incognito behavior. If your extension or app needs to be logged |
| 707 into a remote server or persist settings locally, use <em>spanning</em> |
| 708 incognito behavior. |
| 709 </p> |
| 710 |
| 678 <!-- [PENDING: Possibly: point to the gallery and make a big deal of the fact th
at autoupdating is free if you use the gallery.] --> | 711 <!-- [PENDING: Possibly: point to the gallery and make a big deal of the fact th
at autoupdating is free if you use the gallery.] --> |
| 679 </div> | 712 </div> |
| 680 | 713 |
| 681 <!-- API PAGE --> | 714 <!-- API PAGE --> |
| 682 <div class="apiPage" style="display: none; "> | 715 <div class="apiPage" style="display: none; "> |
| 683 <a name="apiReference"></a> | 716 <a name="apiReference"></a> |
| 684 <h2>API reference: chrome.apiname </h2> | 717 <h2>API reference: chrome.apiname </h2> |
| 685 | 718 |
| 686 <!-- PROPERTIES --> | 719 <!-- PROPERTIES --> |
| 687 <div class="apiGroup"> | 720 <div class="apiGroup"> |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 _uff=0; | 897 _uff=0; |
| 865 urchinTracker(); | 898 urchinTracker(); |
| 866 } | 899 } |
| 867 catch(e) {/* urchinTracker not available. */} | 900 catch(e) {/* urchinTracker not available. */} |
| 868 </script> | 901 </script> |
| 869 <!-- end analytics --> | 902 <!-- end analytics --> |
| 870 </div> | 903 </div> |
| 871 </div> <!-- /gc-footer --> | 904 </div> <!-- /gc-footer --> |
| 872 </div> <!-- /gc-container --> | 905 </div> <!-- /gc-container --> |
| 873 </body></html> | 906 </body></html> |
| OLD | NEW |