OLD | NEW |
1 <h1>Declare Permissions</h1> | 1 <h1>Declare Permissions</h1> |
2 | 2 |
3 <p> | 3 <p> |
4 To use most chrome.* APIs, | 4 To use most chrome.* APIs, |
5 your extension or app must declare its intent in the | 5 your extension or app must declare its intent in the |
6 "permissions" field of the | 6 "permissions" field of the |
7 <a href="manifest.html">manifest</a>. | 7 <a href="manifest.html">manifest</a>. |
8 Each permission can be either one of a list of known strings | 8 Each permission can be either one of a list of known strings |
9 (such as "geolocation") | 9 (such as "geolocation") |
10 or a <a href="match_patterns.html">match pattern</a> | 10 or a <a href="match_patterns.html">match pattern</a> |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 without calling permission methods | 232 without calling permission methods |
233 (such as <code>checkPermission()</code>). | 233 (such as <code>checkPermission()</code>). |
234 For more information see | 234 For more information see |
235 <a href="notifications.html">Desktop Notifications</a>.</td> | 235 <a href="notifications.html">Desktop Notifications</a>.</td> |
236 </tr> | 236 </tr> |
237 {{?is_apps}} | 237 {{?is_apps}} |
238 <tr> | 238 <tr> |
239 <td> "pointerLock" </td> | 239 <td> "pointerLock" </td> |
240 <td> Required to use | 240 <td> Required to use |
241 <a href="http://www.w3.org/TR/pointerlock/">Pointer Lock</a> via calls to | 241 <a href="http://www.w3.org/TR/pointerlock/">Pointer Lock</a> via calls to |
242 <code>webkitRequestPointerLock</code></a> or Pepper's | 242 <code>webkitRequestPointerLock</code> or Pepper's |
243 <a href="https://developers.google.com/native-client/peppercpp/classpp_1_1_m
ouse_lock"> | 243 <a href="https://developers.google.com/native-client/peppercpp/classpp_1_1_m
ouse_lock"> |
244 Mouse Lock API</a>. </td> | 244 Mouse Lock API</a>. </td> |
245 </tr> | 245 </tr> |
246 {{/is_apps}} | 246 {{/is_apps}} |
247 {{^is_apps}} | 247 {{^is_apps}} |
248 <tr> | 248 <tr> |
249 <td> "privacy" </td> | 249 <td> "privacy" </td> |
250 <td> Required if the extension uses the | 250 <td> Required if the extension uses the |
251 <a href="privacy.html">chrome.privacy</a> module. </td> | 251 <a href="privacy.html">chrome.privacy</a> module. </td> |
252 </tr> | 252 </tr> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 </tr> | 315 </tr> |
316 <tr> | 316 <tr> |
317 <td> "webRequestBlocking" </td> | 317 <td> "webRequestBlocking" </td> |
318 <td> Required if the extension uses the | 318 <td> Required if the extension uses the |
319 <a href="webRequest.html">chrome.webRequest</a> module in a blocking | 319 <a href="webRequest.html">chrome.webRequest</a> module in a blocking |
320 fashion. </td> | 320 fashion. </td> |
321 </tr> | 321 </tr> |
322 {{/is_apps}} | 322 {{/is_apps}} |
323 </tr> | 323 </tr> |
324 </table> | 324 </table> |
OLD | NEW |