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

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

Issue 10874057: Document the activeTab extension permission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweaks Created 8 years, 3 months 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>Permission Warnings</h1> 1 <h1>Permission Warnings</h1>
2 2
3 3
4 <!-- 4 <!--
5 NOTE: When this doc is updated, the online help should also be updated: 5 NOTE: When this doc is updated, the online help should also be updated:
6 http://www.google.com/support/chrome_webstore/bin/answer.py?hl=en&answer=186213 6 http://www.google.com/support/chrome_webstore/bin/answer.py?hl=en&answer=186213
7 7
8 We should periodically look at 8 We should periodically look at
9 http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/generated_resources.g rd?view=markup 9 http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/generated_resources.g rd?view=markup
10 to make sure that we're covering all messages. Search for 10 to make sure that we're covering all messages. Search for
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 258
259 <p> 259 <p>
260 Any of the following URLs match all hosts: 260 Any of the following URLs match all hosts:
261 </p> 261 </p>
262 <ul> 262 <ul>
263 <li> <code>http://*/*</code> </li> 263 <li> <code>http://*/*</code> </li>
264 <li> <code>https://*/*</code> </li> 264 <li> <code>https://*/*</code> </li>
265 <li> <code>*://*/*</code> </li> 265 <li> <code>*://*/*</code> </li>
266 <li> <code>&lt;all_urls&gt;</code> </li> 266 <li> <code>&lt;all_urls&gt;</code> </li>
267 </ul> 267 </ul>
268 <strong>Note that you may be able to avoid declaring all host permissions us ing the <code><a href="activeTab.html">activeTab</a></code> permission.</strong>
268 </td> 269 </td>
269 </tr> 270 </tr>
270 <tr> 271 <tr>
271 <td style="font-weight:bold"> 272 <td style="font-weight:bold">
272 <!-- IDS_EXTENSION_PROMPT_WARNING_?_HOST --> 273 <!-- IDS_EXTENSION_PROMPT_WARNING_?_HOST -->
273 <!-- IDS_EXTENSION_PROMPT_WARNING_4_OR_MORE_HOSTS --> 274 <!-- IDS_EXTENSION_PROMPT_WARNING_4_OR_MORE_HOSTS -->
274 Access your data on <em>{list of websites}</em> 275 Access your data on <em>{list of websites}</em>
275 </td> 276 </td>
276 <td> 277 <td>
277 A match pattern in the "permissions" field 278 A match pattern in the "permissions" field
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 </p> 393 </p>
393 394
394 395
395 <h2 id="nowarning"> Permissions that don't cause warnings </h2> 396 <h2 id="nowarning"> Permissions that don't cause warnings </h2>
396 397
397 <p> 398 <p>
398 The following permissions don't result in a warning: 399 The following permissions don't result in a warning:
399 </p> 400 </p>
400 401
401 <ul> 402 <ul>
403 <li>"activeTab"</li>
402 <li>"browsingData"</li> 404 <li>"browsingData"</li>
403 <li>"chrome://favicon/"</li> 405 <li>"chrome://favicon/"</li>
404 <li>"clipboardWrite"</li> 406 <li>"clipboardWrite"</li>
405 <li>"contextMenus"</li> 407 <li>"contextMenus"</li>
406 <li>"cookies"</li> 408 <li>"cookies"</li>
407 <li>"experimental"</li> 409 <li>"experimental"</li>
408 <li>"idle"</li> 410 <li>"idle"</li>
409 <li>"notifications"</li> 411 <li>"notifications"</li>
410 <li>"storage"</li> 412 <li>"storage"</li>
411 <li>"unlimitedStorage"</li> 413 <li>"unlimitedStorage"</li>
(...skipping 27 matching lines...) Expand all
439 (and all other extensions that have outstanding updates) 441 (and all other extensions that have outstanding updates)
440 by clicking the <b>chrome://extensions</b> page's 442 by clicking the <b>chrome://extensions</b> page's
441 <b>Update extensions now</b> button. 443 <b>Update extensions now</b> button.
442 </p> 444 </p>
443 445
444 <h2 id="api">API</h2> 446 <h2 id="api">API</h2>
445 447
446 <p> 448 <p>
447 You can get a list of permission warnings for any manifest with 449 You can get a list of permission warnings for any manifest with
448 <a href="management.html#method-getPermissionWarnings">chrome.management.getPerm issionWarnings()</a>. 450 <a href="management.html#method-getPermissionWarnings">chrome.management.getPerm issionWarnings()</a>.
449 </p> 451 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698