Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1127)

Side by Side Diff: chrome/common/extensions/docs/templates/articles/declare_permissions.html

Issue 11413131: Enable Pointer Lock for packaged apps using ShellWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: PermissionMessages test fixed; added kPointerLock to skips Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 {{/is_apps}} 219 {{/is_apps}}
220 <tr> 220 <tr>
221 <td> "notifications" </td> 221 <td> "notifications" </td>
222 <td> Allows the extension or app to use the proposed HTML5 222 <td> Allows the extension or app to use the proposed HTML5
223 <a href="http://www.chromium.org/developers/design-documents/desktop-noti fications/api-specification">notification API</a> 223 <a href="http://www.chromium.org/developers/design-documents/desktop-noti fications/api-specification">notification API</a>
224 without calling permission methods 224 without calling permission methods
225 (such as <code>checkPermission()</code>). 225 (such as <code>checkPermission()</code>).
226 For more information see 226 For more information see
227 <a href="notifications.html">Desktop Notifications</a>.</td> 227 <a href="notifications.html">Desktop Notifications</a>.</td>
228 </tr> 228 </tr>
229 {{?is_apps}}
230 <tr>
231 <td> "pointerLock" </td>
232 <td> Required to use
233 <a href="http://www.w3.org/TR/pointerlock/">Pointer Lock</a> via calls to
234 <code>webkitRequestPointerLock</code></a> or Pepper's
235 <a href="https://developers.google.com/native-client/peppercpp/classpp_1_1_m ouse_lock">
236 Mouse Lock API</a>. </td>
237 </tr>
238 {{/is_apps}}
229 {{^is_apps}} 239 {{^is_apps}}
230 <tr> 240 <tr>
231 <td> "privacy" </td> 241 <td> "privacy" </td>
232 <td> Required if the extension uses the 242 <td> Required if the extension uses the
233 <a href="privacy.html">chrome.privacy</a> module. </td> 243 <a href="privacy.html">chrome.privacy</a> module. </td>
234 </tr> 244 </tr>
235 <tr> 245 <tr>
236 <td> "proxy" </td> 246 <td> "proxy" </td>
237 <td> Required if the extension uses the 247 <td> Required if the extension uses the
238 <a href="proxy.html">chrome.proxy</a> module. </td> 248 <a href="proxy.html">chrome.proxy</a> module. </td>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 </tr> 307 </tr>
298 <tr> 308 <tr>
299 <td> "webRequestBlocking" </td> 309 <td> "webRequestBlocking" </td>
300 <td> Required if the extension uses the 310 <td> Required if the extension uses the
301 <a href="webRequest.html">chrome.webRequest</a> module in a blocking 311 <a href="webRequest.html">chrome.webRequest</a> module in a blocking
302 fashion. </td> 312 fashion. </td>
303 </tr> 313 </tr>
304 {{/is_apps}} 314 {{/is_apps}}
305 </tr> 315 </tr>
306 </table> 316 </table>
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | chrome/common/extensions/permissions/api_permission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698