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

Side by Side Diff: chrome/common/extensions/docs/templates/intros/history.html

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments - Patch currently being broken up Created 7 years, 6 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 unified diff | Download patch
OLDNEW
1 <p id="classSummary">
2 Use the <code>chrome.history</code> module to interact with the
3 browser's record of visited pages. You can add, remove, and query
4 for URLs in the browser's history.
5 To override the history page with your own version, see
6 <a href="override.html">Override Pages</a>.
7 </p>
8
9 <h2 id="manifest">Manifest</h2> 1 <h2 id="manifest">Manifest</h2>
10 2
11 <p>You must declare the "history" permission 3 <p>You must declare the "history" permission
12 in the <a href="manifest.html">extension manifest</a> 4 in the <a href="manifest.html">extension manifest</a>
13 to use the history API. 5 to use the history API.
14 For example:</p> 6 For example:</p>
15 <pre>{ 7 <pre>{
16 "name": "My extension", 8 "name": "My extension",
17 ... 9 ...
18 <b>"permissions": [ 10 <b>"permissions": [
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 </table> 135 </table>
144 136
145 <h2 id="examples">Examples</h2> 137 <h2 id="examples">Examples</h2>
146 138
147 <p> 139 <p>
148 For examples of using this API, see the 140 For examples of using this API, see the
149 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/history/">history sample directory</a> and the 141 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/history/">history sample directory</a> and the
150 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extens ions/api_test/history/">history API test directory</a>. 142 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extens ions/api_test/history/">history API test directory</a>.
151 For other examples and for help in viewing the source code, see 143 For other examples and for help in viewing the source code, see
152 <a href="samples.html">Samples</a>. 144 <a href="samples.html">Samples</a>.
153 </p> 145 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698