Chromium Code Reviews

Unified Diff: chrome/common/extensions/docs/tabs.html

Issue 5398002: doc stuff (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/common/extensions/docs/tabs.html
===================================================================
--- chrome/common/extensions/docs/tabs.html (revision 68334)
+++ chrome/common/extensions/docs/tabs.html (working copy)
@@ -170,7 +170,6 @@
<li><a href="options.html">Options Pages</a></li>
<li><a href="override.html">Override Pages</a></li>
<li><a href="pageAction.html">Page Actions</a></li>
- <li><a href="themes.html">Themes</a></li>
</ul>
</li>
<li>Browser Interaction
@@ -204,6 +203,7 @@
</li>
</ul>
</li>
+ <li><h2><a href="apps.html">Packaged Apps</a></h2></li>
<li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
@@ -217,9 +217,9 @@
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
- <!-- <li>Packages (.crx)</li> -->
</ul>
</li>
+ <li><a href="permission_warnings.html">Permission Warnings</a></li>
<li><a href="api_index.html">chrome.* APIs</a></li>
<li><a href="api_other.html">Other APIs</a></li>
</ul>
@@ -229,7 +229,7 @@
<li><h2>More</h2>
<ul>
<li><a href="http://code.google.com/chrome/webstore/docs/index.html">Chrome Web Store</a></li>
- <li><a href="http://code.google.com/chrome/apps/docs/developers_guide.html">Installable Web Apps</a></li>
+ <li><a href="http://code.google.com/chrome/apps/docs/developers_guide.html">Hosted Apps</a></li>
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
@@ -360,7 +360,10 @@
<img src="images/tabs.png" width="323" height="50" alt="Two tabs in a window">
<h2 id="manifest">Manifest</h2>
-<p>All but two functions* require you to declare the "tabs" permission in your extension's manifest to use the tabs API.
+<p>
+Almost all <code>chrome.tabs</code> methods require you to
+declare the "tabs" permission
+in the <a href="manifest.html">extension manifest</a>.
For example:
</p>
@@ -373,7 +376,13 @@
...
}</pre>
-<p>* The two functions that do not require the "tabs" permission are: tabs.create and tabs.update</p>
+<p>
+The two methods that don't require the "tabs" permission are
+<a href="#method-create"><code>create</code></a> and
+<a href="#method-update"><code>update</code></a>.
+</p>
+
+
<h2 id="examples"> Examples </h2>
<p>
« no previous file with comments | « chrome/common/extensions/docs/static/tabs.html ('k') | chrome/common/extensions/docs/template/api_template.html » ('j') | no next file with comments »

Powered by Google App Engine