summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/tabs.html
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 17:55:10 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 17:55:10 +0000
commit4535a2b25d3b6e3a331bbec8df1068c3d3f11b82 (patch)
tree44b8bb190f6faae0e446b9acbbfbe237bd682363 /chrome/common/extensions/docs/tabs.html
parent5b23a5b85c0f8294cf5032552a52cc56cd323a43 (diff)
downloadchromium_src-4535a2b25d3b6e3a331bbec8df1068c3d3f11b82.zip
chromium_src-4535a2b25d3b6e3a331bbec8df1068c3d3f11b82.tar.gz
chromium_src-4535a2b25d3b6e3a331bbec8df1068c3d3f11b82.tar.bz2
Add a note saying that not all functions require the tabs
permission to use. Landing: http://codereview.chromium.org/3329022/show for finnur who can't currently build extension docs. TBR=finnur BUG=43743 TEST=None (doc change) Review URL: http://codereview.chromium.org/3367024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59113 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/tabs.html')
-rw-r--r--chrome/common/extensions/docs/tabs.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html
index f086520..17799d1 100644
--- a/chrome/common/extensions/docs/tabs.html
+++ b/chrome/common/extensions/docs/tabs.html
@@ -346,7 +346,7 @@ create, modify, and rearrange tabs in the browser.
<img src="images/tabs.png" width="323" height="50" alt="Two tabs in a window">
<h2 id="manifest">Manifest</h2>
-<p>You must declare the "tabs" permission in your extension's manifest to use the tabs API.
+<p>All but two functions* require you to declare the "tabs" permission in your extension's manifest to use the tabs API.
For example:
</p>
@@ -359,6 +359,7 @@ For example:
...
}</pre>
+<p>* The two functions that do not require the "tabs" permission are: tabs.create and tabs.update</p>
<h2 id="examples"> Examples </h2>
<p>
@@ -1112,7 +1113,7 @@ For other examples and for help in viewing the source code, see
<div class="description">
<p class="todo" style="display: none; ">Undocumented.</p>
- <p>Creates a new tab.</p>
+ <p>Creates a new tab. Note: This function can be used without requesting the 'tabs' permission in the manifest.</p>
<!-- PARAMETERS -->
<h4>Parameters</h4>
@@ -4486,7 +4487,7 @@ For other examples and for help in viewing the source code, see
<div class="description">
<p class="todo" style="display: none; ">Undocumented.</p>
- <p>Modifies the properties of a tab. Properties that are not specified in <var>updateProperties</var> are not modified.</p>
+ <p>Modifies the properties of a tab. Properties that are not specified in <var>updateProperties</var> are not modified. Note: This function can be used without requesting the 'tabs' permission in the manifest.</p>
<!-- PARAMETERS -->
<h4>Parameters</h4>