| Index: chrome/common/extensions/docs/server2/templates/intros/history.html
|
| diff --git a/chrome/common/extensions/docs/server2/templates/intros/history.html b/chrome/common/extensions/docs/server2/templates/intros/history.html
|
| index d88c40ef95b7b87a5d4939bdb5b6d3fd4e2bff79..9bac472b23d2cf91ab95f233fe4c83f67411381d 100644
|
| --- a/chrome/common/extensions/docs/server2/templates/intros/history.html
|
| +++ b/chrome/common/extensions/docs/server2/templates/intros/history.html
|
| @@ -1,4 +1,3 @@
|
| -<!-- BEGIN AUTHORED CONTENT -->
|
| <p id="classSummary">
|
| Use the <code>chrome.history</code> module to interact with the
|
| browser's record of visited pages. You can add, remove, and query
|
| @@ -6,7 +5,9 @@ for URLs in the browser's history.
|
| To override the history page with your own version, see
|
| <a href="override.html">Override Pages</a>.
|
| </p>
|
| +
|
| <h2 id="manifest">Manifest</h2>
|
| +
|
| <p>You must declare the "history" permission
|
| in the <a href="manifest.html">extension manifest</a>
|
| to use the history API.
|
| @@ -19,7 +20,9 @@ For example:</p>
|
| ]</b>,
|
| ...
|
| }</pre>
|
| +
|
| <h2 id="transition_types">Transition types</h2>
|
| +
|
| <p>
|
| The history API uses a <em>transition type</em> to describe
|
| how the browser navigated to a particular URL
|
| @@ -28,9 +31,11 @@ For example, if a user visits a page
|
| by clicking a link on another page,
|
| the transition type is "link".
|
| </p>
|
| +
|
| <p>
|
| The following table describes each transition type.
|
| </p>
|
| +
|
| <table>
|
| <tr>
|
| <th> Transition type </th> <th> Description </th>
|
| @@ -136,12 +141,13 @@ The following table describes each transition type.
|
| </td>
|
| </tr>
|
| </table>
|
| +
|
| <h2 id="examples">Examples</h2>
|
| +
|
| <p>
|
| For examples of using this API, see the
|
| <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/history/">history sample directory</a> and the
|
| <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/api_test/history/">history API test directory</a>.
|
| For other examples and for help in viewing the source code, see
|
| <a href="samples.html">Samples</a>.
|
| -</p>
|
| -<!-- END AUTHORED CONTENT -->
|
| +</p>
|
|
|