| Index: chrome/common/extensions/docs/server2/templates/intros/tabs.html
|
| diff --git a/chrome/common/extensions/docs/server2/templates/intros/tabs.html b/chrome/common/extensions/docs/server2/templates/intros/tabs.html
|
| index bf1eb2fdd1fe8c6014216ec857f5899c6735f1b3..8002b16b46543a0bb61c182dd95dcb69d4c00ff1 100644
|
| --- a/chrome/common/extensions/docs/server2/templates/intros/tabs.html
|
| +++ b/chrome/common/extensions/docs/server2/templates/intros/tabs.html
|
| @@ -1,12 +1,13 @@
|
| -<!-- 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
|
| @@ -14,6 +15,7 @@ declare the "tabs" permission
|
| in the <a href="manifest.html">extension manifest</a>.
|
| For example:
|
| </p>
|
| +
|
| <pre>{
|
| "name": "My extension",
|
| ...
|
| @@ -22,6 +24,7 @@ For example:
|
| ]</b>,
|
| ...
|
| }</pre>
|
| +
|
| <p>
|
| Three methods (<a href="#method-create"><code>create</code></a>,
|
| <a href="#method-update"><code>update</code></a> and
|
| @@ -29,12 +32,14 @@ Three methods (<a href="#method-create"><code>create</code></a>,
|
| (<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 -->
|
| +</p>
|
|
|