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

Unified Diff: chrome/common/extensions/docs/server2/templates/private/tabs_intro.html

Issue 10700118: Extensions Docs Server: First doc conversions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added all APIs Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/templates/private/tabs_intro.html
diff --git a/chrome/common/extensions/docs/server2/templates/private/tabs_intro.html b/chrome/common/extensions/docs/server2/templates/private/tabs_intro.html
new file mode 100644
index 0000000000000000000000000000000000000000..a4d05e4df87053a8b5462a606b8074e9b8a9237b
--- /dev/null
+++ b/chrome/common/extensions/docs/server2/templates/private/tabs_intro.html
@@ -0,0 +1,40 @@
+<!-- BEGIN AUTHORED CONTENT -->
+<p id="classSummary">
+Use the <code>chrome.tabs</code> module
+to interact with the browser's tab system.
+You can use this module to
+create, modify, and rearrange tabs in the browser.
+</p>
+<img src="/static/images/tabs.png"
+ width="323" height="50" alt="Two tabs in a window" />
+<h2 id="manifest">Manifest</h2>
+<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>
+<pre>{
+ "name": "My extension",
+ ...
+ <b>"permissions": [
+ "tabs"
+ ]</b>,
+ ...
+}</pre>
+<p>
+Three methods (<a href="#method-create"><code>create</code></a>,
+<a href="#method-update"><code>update</code></a> and
+<a href="#method-remove"><code>remove</code></a>) and one event
+(<a href="#event-onRemoved"><code>onRemoved</code></a>) don't require the "tabs"
+permission.
+</p>
+<h2 id="examples"> Examples </h2>
+<p>
+You can find simple examples of using the tabs module in the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/">examples/api/tabs</a>
+directory.
+For other examples and for help in viewing the source code, see
+<a href="samples.html">Samples</a>.
+</p>
+<!-- END AUTHORED CONTENT -->

Powered by Google App Engine
This is Rietveld 408576698