summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/permission_warnings.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/docs/permission_warnings.html')
-rw-r--r--chrome/common/extensions/docs/permission_warnings.html66
1 files changed, 42 insertions, 24 deletions
diff --git a/chrome/common/extensions/docs/permission_warnings.html b/chrome/common/extensions/docs/permission_warnings.html
index eb062e3..66b96dd 100644
--- a/chrome/common/extensions/docs/permission_warnings.html
+++ b/chrome/common/extensions/docs/permission_warnings.html
@@ -81,6 +81,16 @@
</dl>
</dd>
+ <!-- OBJECT METHODS -->
+ <dd>
+ <div></div>
+ </dd>
+
+ <!-- OBJECT EVENT FIELDS -->
+ <dd>
+ <div></div>
+ </dd>
+
<!-- FUNCTION PARAMETERS -->
<dd>
<div></div>
@@ -288,7 +298,7 @@
</ol>
</li>
<li>
- <a href="#methods">Methods</a>
+ <a>Methods</a>
<ol>
<li>
<a href="#method-anchor">methodName</a>
@@ -296,7 +306,7 @@
</ol>
</li>
<li>
- <a href="#events">Events</a>
+ <a>Events</a>
<ol>
<li>
<a href="#event-anchor">eventName</a>
@@ -423,7 +433,7 @@ brings up the following warning:
<p>
It can be surprising when adding a permission such as "tabs"
results in the seemingly unrelated warning
-that the extension can access your browsing history.
+that the extension can access your browsing activity.
The reason for the warning is that
although the <code>chrome.tabs</code> API
might be used only to open new tabs,
@@ -488,22 +498,30 @@ that trigger them.
</td>
<td>
<!-- HasEffectiveBrowsingHistoryPermission -->
- "history" or "tabs" permission
+ "history" permission
</td>
<td>
<p>
- The "tabs" permission is required by the
- <a href="tabs.html"><code>chrome.tabs</code></a> and
- <a href="windows.html"><code>chrome.windows</code></a> modules.
- </p>
- <p>
The "history" permission is required by
<a href="history.html"><code>chrome.history</code></a>.
</p>
+ </td>
+</tr>
+
+<tr>
+ <td style="font-weight:bold">
+ <!-- IDS_EXTENSION_PROMPT_WARNING_TABS -->
+ Your tabs and browsing activity
+ </td>
+ <td>
+ <!-- HasEffectiveBrowsingHistoryPermission -->
+ "tabs" permission
+ </td>
+ <td>
<p>
- Adding "tabs" to an existing extension
- that already has "history", or vice versa,
- doesn't cause a warning when the extension is autoupdated.
+ The "tabs" permission is required by the
+ <a href="tabs.html"><code>chrome.tabs</code></a> and
+ <a href="windows.html"><code>chrome.windows</code></a> modules.
</p>
</td>
</tr>
@@ -684,8 +702,8 @@ by clicking the <b>chrome://extensions</b> page's
</div> <!-- /apiGroup -->
<!-- METHODS -->
- <div class="apiGroup" id="methods">
- <a name="methods"></a>
+ <div id="methodsTemplate" class="apiGroup">
+ <a></a>
<h3>Methods</h3>
<!-- iterates over all functions -->
@@ -760,10 +778,9 @@ by clicking the <b>chrome://extensions</b> page's
</div> <!-- /apiGroup -->
<!-- EVENTS -->
- <div class="apiGroup">
- <a name="events"></a>
- <h3 id="events">Events</h3>
-
+ <div id="eventsTemplate" class="apiGroup">
+ <a></a>
+ <h3>Events</h3>
<!-- iterates over all events -->
<div class="apiItem">
<a></a>
@@ -781,14 +798,15 @@ by clicking the <b>chrome://extensions</b> page's
</p>
<!-- PARAMETERS -->
- <h4>Parameters</h4>
- <dl>
- <div>
+ <div>
+ <h4>Parameters</h4>
+ <dl>
<div>
+ <div>
+ </div>
</div>
- </div>
- </dl>
-
+ </dl>
+ </div>
</div> <!-- /decription -->
</div> <!-- /apiItem -->