OLD | NEW |
(Empty) | |
| 1 <h1 class="page_title">chrome.experimental.* APIs</h1> |
| 2 |
| 3 <h2 id="overview"> |
| 4 List of APIs |
| 5 </h2> |
| 6 |
| 7 <ul> |
| 8 {{#api_list.apps.experimental}} |
| 9 <li><a href="{{name}}.html">{{name}}</a></li> |
| 10 {{/}} |
| 11 </ul> |
| 12 |
| 13 <p class="warning"> |
| 14 <b>Caution:</b> |
| 15 Don't depend on these experimental APIs. |
| 16 They might disappear, |
| 17 and they <em>will</em> change. |
| 18 Also, the Chrome Web Store doesn't allow you to |
| 19 upload items that use experimental APIs. |
| 20 </p> |
| 21 |
| 22 |
| 23 <h2 id="using">How to use experimental APIs</h2> |
| 24 |
| 25 <ol> |
| 26 <li> |
| 27 Specify the "experimental" |
| 28 <a href="manifest.html#permissions">permission</a> |
| 29 in your manifest, like this: |
| 30 <pre> |
| 31 "permissions": [ |
| 32 <b>"experimental"</b>, |
| 33 ... |
| 34 ], |
| 35 </pre> |
| 36 </li> |
| 37 <li> |
| 38 Enable the experimental API in your browser. |
| 39 You can do this in either of two ways: |
| 40 <ul> |
| 41 <li> Go to <b>chrome://flags</b>, |
| 42 find "Experimental Extension APIs", |
| 43 click its "Enable" link, |
| 44 and restart Chrome. |
| 45 From now on, |
| 46 unless you return to that page and disable experimental APIs, |
| 47 you'll be able to run extensions and apps that use experimental APIs. |
| 48 </li> |
| 49 <li> Specify the <b>--enable-experimental-extension-apis</b> flag |
| 50 each time you launch the browser. |
| 51 On Windows, you can do this by modifying |
| 52 the properties of the shortcut that you use to launch Google Chrome. |
| 53 For example: |
| 54 |
| 55 <pre> |
| 56 <em>path_to_chrome.exe</em> <b>--enable-experimental-extension-apis</b></pre> |
| 57 </li> |
| 58 </ul> |
| 59 </li> |
| 60 |
| 61 </ol> |
| 62 |
| 63 <h2 id="other">More APIs</h2> |
| 64 |
| 65 <p> |
| 66 For information on the standard APIs that packaged apps can use, see |
| 67 <a href="api_index.html">chrome.* APIs</a> and |
| 68 <a href="api_other.html">Other APIs</a>. |
| 69 </p> |
OLD | NEW |