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

Side by Side Diff: chrome/common/extensions/docs/templates/intros/windows.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.windows</code> module
3 to interact with browser windows.
4 You can use this module to
5 create, modify, and rearrange windows in the browser.
6 </p>
7
8 <img src="{{static}}/images/windows.png" 1 <img src="{{static}}/images/windows.png"
9 width="256" height="76" alt="Two windows, each with one tab" /> 2 width="256" height="76" alt="Two windows, each with one tab" />
10 3
11 <h2 id="manifest">Manifest</h2> 4 <h2 id="manifest">Manifest</h2>
12 <p> 5 <p>
13 To use the windows API, 6 To use the windows API,
14 you must declare the "tabs" permission 7 you must declare the "tabs" permission
15 in <a href="manifest.html">manifest.json</a>. 8 in <a href="manifest.html">manifest.json</a>.
16 (No, that isn't a typo &mdash; 9 (No, that isn't a typo &mdash;
17 the window and tabs modules interact so closely we 10 the window and tabs modules interact so closely we
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/windows/">examples/api/windows</a> 53 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/windows/">examples/api/windows</a>
61 directory. 54 directory.
62 Another example is in the 55 Another example is in the
63 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/tabs/inspector/tabs_api.html?content-type=text/plain">tabs_a pi.html</a> file 56 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/tabs/inspector/tabs_api.html?content-type=text/plain">tabs_a pi.html</a> file
64 of the 57 of the
65 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/tabs/inspector/">inspector</a> 58 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/tabs/inspector/">inspector</a>
66 example. 59 example.
67 For other examples and for help in viewing the source code, see 60 For other examples and for help in viewing the source code, see
68 <a href="samples.html">Samples</a>. 61 <a href="samples.html">Samples</a>.
69 </p> 62 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698