OLD | NEW |
1 <h1 class="page_title">chrome.experimental.* APIs</h1> | 1 <h1 class="page_title">chrome.experimental.* APIs</h1> |
| 2 {{^is_apps}} |
2 <div class="doc-family extensions"> | 3 <div class="doc-family extensions"> |
3 <p> | 4 <p> |
4 Before you start, <strong>choose the right version of this page.</strong> | 5 Before you start, <strong>choose the right version of this page.</strong> |
5 You should read either: | 6 You should read either: |
6 </p> | 7 </p> |
7 | 8 |
8 <ul> | 9 <ul> |
9 <li> <a href="http://code.google.com/chrome/extensions/trunk/experimental.html
">Most recent experimental APIs</a> | 10 <li> <a href="http://code.google.com/chrome/extensions/trunk/experimental.html
">Most recent experimental APIs</a> |
10 <li> <a href="http://code.google.com/chrome/extensions/dev/experimental.html">
Dev channel experimental APIs</a></li> | 11 <li> <a href="http://code.google.com/chrome/extensions/dev/experimental.html">
Dev channel experimental APIs</a></li> |
11 </ul> | 12 </ul> |
12 | 13 |
13 <p> | 14 <p> |
14 For information about browser versions such as | 15 For information about browser versions such as |
15 Canary (bleeding edge) and the Dev channel, see | 16 Canary (bleeding edge) and the Dev channel, see |
16 <a href="http://www.chromium.org/getting-involved/dev-channel">Chrome Release Ch
annels</a>. | 17 <a href="http://www.chromium.org/getting-involved/dev-channel">Chrome Release Ch
annels</a>. |
17 For details about channel-specific docs, | 18 For details about channel-specific docs, |
18 see <a href="docs.html#versions">Doc versions</a>. | 19 see <a href="docs.html#versions">Doc versions</a>. |
19 </p> | 20 </p> |
20 </div> | 21 </div> |
| 22 {{/is_apps}} |
21 | 23 |
22 <h2 id="overview"> | 24 <h2 id="overview"> |
23 List of APIs | 25 List of APIs |
24 </h2> | 26 </h2> |
25 | 27 |
| 28 {{^is_apps}} |
26 <p class="doc-family extensions"> | 29 <p class="doc-family extensions"> |
27 We'd like your <a href="http://groups.google.com/a/chromium.org/group/chromium-e
xtensions/topics">feedback</a> | 30 We'd like your <a href="http://groups.google.com/a/chromium.org/group/chromium-e
xtensions/topics">feedback</a> |
28 on the following experimental APIs: | 31 on the following experimental APIs: |
29 </p> | 32 </p> |
| 33 {{/is_apps}} |
30 | 34 |
31 <ul> | 35 <ul> |
32 {{#api_list.experimental}} | 36 {{?is_apps}} |
| 37 {{#api_list.apps.experimental}} |
33 <li><a href="{{name}}.html">{{name}}</a></li> | 38 <li><a href="{{name}}.html">{{name}}</a></li> |
34 {{/}} | 39 {{/}} |
| 40 {{:is_apps}} |
| 41 {{#api_list.extensions.experimental}} |
| 42 <li><a href="{{name}}.html">{{name}}</a></li> |
| 43 {{/}} |
| 44 {{/is_apps}} |
35 </ul> | 45 </ul> |
36 | 46 |
| 47 {{^is_apps}} |
37 <p class="doc-family extensions"> | 48 <p class="doc-family extensions"> |
38 Pay special attention to the following APIs, | 49 Pay special attention to the following APIs, |
39 which we expect to finalize soon: | 50 which we expect to finalize soon: |
40 <b>devtools</b>, | 51 <b>devtools</b>, |
41 <b>infobars</b>, | 52 <b>infobars</b>, |
42 <b>permissions</b>, | 53 <b>permissions</b>, |
43 For examples of using the experimental APIs, see | 54 For examples of using the experimental APIs, see |
44 <a href="samples.html#experimental">Samples</a>. | 55 <a href="samples.html#experimental">Samples</a>. |
45 </p> | 56 </p> |
| 57 {{/is_apps}} |
46 | 58 |
47 <p class="warning"> | 59 <p class="warning"> |
48 <b>Caution:</b> | 60 <b>Caution:</b> |
49 Don't depend on these experimental APIs. | 61 Don't depend on these experimental APIs. |
50 They might disappear, | 62 They might disappear, |
51 and they <em>will</em> change. | 63 and they <em>will</em> change. |
52 Also, the Chrome Web Store doesn't allow you to | 64 Also, the Chrome Web Store doesn't allow you to |
53 upload items that use experimental APIs. | 65 upload items that use experimental APIs. |
54 </p> | 66 </p> |
55 | 67 |
56 | 68 |
57 <h2 id="using">How to use experimental APIs</h2> | 69 <h2 id="using">How to use experimental APIs</h2> |
58 | 70 |
59 <ol> | 71 <ol> |
| 72 {{^is_apps}} |
60 <li class="doc-family extensions"> | 73 <li class="doc-family extensions"> |
61 Make sure you're using either | 74 Make sure you're using either |
62 <a href="http://tools.google.com/dlpage/chromesxs">Canary</a> | 75 <a href="http://tools.google.com/dlpage/chromesxs">Canary</a> |
63 (which you can use at the same time as other Chrome channels) or the | 76 (which you can use at the same time as other Chrome channels) or the |
64 <a href="http://www.chromium.org/getting-involved/dev-channel">Dev channel</a>. | 77 <a href="http://www.chromium.org/getting-involved/dev-channel">Dev channel</a>. |
65 Although the experimental APIs might work in other versions, | 78 Although the experimental APIs might work in other versions, |
66 we need your feedback on the latest incarnation of the APIs, | 79 we need your feedback on the latest incarnation of the APIs, |
67 which you can find in Canary and on the Dev channel. | 80 which you can find in Canary and on the Dev channel. |
68 </li> | 81 </li> |
69 <li class="doc-family extensions"> | 82 <li class="doc-family extensions"> |
70 Using either the | 83 Using either the |
71 <a href="http://code.google.com/chrome/extensions/trunk/experimental.html">m
ost recent API documentation</a> (if you're using Canary) or the | 84 <a href="http://code.google.com/chrome/extensions/trunk/experimental.html">m
ost recent API documentation</a> (if you're using Canary) or the |
72 <a href="http://code.google.com/chrome/extensions/dev/experimental.html">API
documentation for the Dev channel</a>, | 85 <a href="http://code.google.com/chrome/extensions/dev/experimental.html">API
documentation for the Dev channel</a>, |
73 write the code for your extension. | 86 write the code for your extension. |
74 </li> | 87 </li> |
| 88 {{/is_apps}} |
75 <li> | 89 <li> |
76 Specify the "experimental" | 90 Specify the "experimental" |
77 <a href="manifest.html#permissions">permission</a> | 91 <a href="manifest.html#permissions">permission</a> |
78 in your manifest, like this: | 92 in your manifest, like this: |
79 <pre> | 93 <pre> |
80 "permissions": [ | 94 "permissions": [ |
81 <b>"experimental"</b>, | 95 <b>"experimental"</b>, |
82 ... | 96 ... |
83 ], | 97 ], |
84 </pre> | 98 </pre> |
(...skipping 15 matching lines...) Expand all Loading... |
100 On Windows, you can do this by modifying | 114 On Windows, you can do this by modifying |
101 the properties of the shortcut that you use to launch Google Chrome. | 115 the properties of the shortcut that you use to launch Google Chrome. |
102 For example: | 116 For example: |
103 | 117 |
104 <pre> | 118 <pre> |
105 <em>path_to_chrome.exe</em> <b>--enable-experimental-extension-apis</b></pre> | 119 <em>path_to_chrome.exe</em> <b>--enable-experimental-extension-apis</b></pre> |
106 </li> | 120 </li> |
107 </ul> | 121 </ul> |
108 </li> | 122 </li> |
109 | 123 |
| 124 {{^is_apps}} |
110 <li class="doc-family extension"> | 125 <li class="doc-family extension"> |
111 <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions/t
opics">Give us feedback!</a> | 126 <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions/t
opics">Give us feedback!</a> |
112 Your comments and suggestions help us | 127 Your comments and suggestions help us |
113 improve the APIs and decide | 128 improve the APIs and decide |
114 which ones should move from experimental to supported. | 129 which ones should move from experimental to supported. |
115 </li> | 130 </li> |
| 131 {{/is_apps}} |
116 </ol> | 132 </ol> |
117 | 133 |
118 <h2 id="other">More APIs</h2> | 134 <h2 id="other">More APIs</h2> |
119 | 135 |
120 <p> | 136 <p> |
121 For information on the standard APIs that packaged apps can use, see | 137 For information on the standard APIs that packaged apps can use, see |
122 <a href="api_index.html">chrome.* APIs</a> and | 138 <a href="api_index.html">chrome.* APIs</a> and |
123 <a href="api_other.html">Other APIs</a>. | 139 <a href="api_other.html">Other APIs</a>. |
124 </p> | 140 </p> |
OLD | NEW |