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