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

Side by Side Diff: chrome/common/extensions/docs/template/api_template.html

Issue 8352042: Update contentSettings extension API docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 <div id="gc-container" class="labs"> 1 <div id="gc-container" class="labs">
2 <div id="devModeWarning"> 2 <div id="devModeWarning">
3 You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with -- allow-file-access-from-files. 3 You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with -- allow-file-access-from-files.
4 </div> 4 </div>
5 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> 5 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION -->
6 <!-- In particular, sub-templates that recurse, must be used by allowing 6 <!-- In particular, sub-templates that recurse, must be used by allowing
7 jstemplate to make a copy of the template in this section which 7 jstemplate to make a copy of the template in this section which
8 are not operated on by way of the jsskip="true" --> 8 are not operated on by way of the jsskip="true" -->
9 <div jsskip="true" style="display:none"> 9 <div jsskip="true" style="display:none">
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 <div id="functionParametersTemplate"> 89 <div id="functionParametersTemplate">
90 <h5>Parameters</h5> 90 <h5>Parameters</h5>
91 <dl> 91 <dl>
92 <div jsselect="$this.parameters"> 92 <div jsselect="$this.parameters">
93 <div transclude="valueTemplate"> 93 <div transclude="valueTemplate">
94 </div> 94 </div>
95 </div> 95 </div>
96 </dl> 96 </dl>
97 </div> 97 </div>
98
99 <!-- Individual subsections from the table of contents -->
100 <ol>
101 <li id="propertiesTocTemplate" jsdisplay="$this.properties">
102 <a href="#properties">Properties</a>
103 <ol>
104 <li jsselect="getPropertyListFromObject($this)">
105 <a jscontent="name"
106 jsvalues=".href:'#property-' + name"
107 href="#property-anchor">propertyName</a>
108 </li>
109 </ol>
110 </li>
111 <li id="methodsTocTemplate" jsdisplay="functions && functions.length > 0">
112 <a jsvalues=".href:'#' + getAnchorName('global', 'methods', $type)"> Methods</a>
113 <ol>
114 <li jsselect="functions.sort(sortByName)"
115 jsdisplay="!($this.nodoc)">
116 <a jscontent="name"
117 jsvalues=".href:'#' + getAnchorName('method', name, $type)"
118 href="#method-anchor">methodName</a>
119 </li>
120 </ol>
121 </li>
122 <li id="eventsTocTemplate" jsdisplay="events && events.length > 0">
123 <a jsvalues=".href:'#' + getAnchorName('global', 'events', $type)">E vents</a>
124 <ol>
125 <li jsselect="events.sort(sortByName)"
126 jsdisplay="!($this.nodoc)">
127 <a jscontent="name"
128 jsvalues=".href:'#' + getAnchorName('event', name, $type)"
129 href="#event-anchor">eventName</a>
130 </li>
131 </ol>
132 </li>
133 <li id="typesTocTemplate" jsdisplay="types && types.length > 0">
134 <a href="#types">Types</a>
135 <ol>
136 <li jsselect="types.sort(sortByName)">
137 <a jscontent="id"
138 jsvalues=".href:'#type-' + id"
139 href="#id-anchor">id</a>
140 <ol jsvalues="$type:id">
141 <div transclude="methodsTocTemplate"></div>
142 <div transclude="eventsTocTemplate"></div>
143 </ol>
144 </li>
145 </ol>
146 </li>
147 </ol>
98 </div> <!-- /SUBTEMPLATES --> 148 </div> <!-- /SUBTEMPLATES -->
99 149
100 <a id="top"></a> 150 <a id="top"></a>
101 <div id="skipto"> 151 <div id="skipto">
102 <a href="#gc-pagecontent">Skip to page content</a> 152 <a href="#gc-pagecontent">Skip to page content</a>
103 <a href="#gc-toc">Skip to main navigation</a> 153 <a href="#gc-toc">Skip to main navigation</a>
104 </div> 154 </div>
105 <!-- API HEADER --> 155 <!-- API HEADER -->
106 <table id="header" width="100%" cellspacing="0" border="0"> 156 <table id="header" width="100%" cellspacing="0" border="0">
107 <tr> 157 <tr>
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 <li jsselect="getStaticTOC()"> 301 <li jsselect="getStaticTOC()">
252 <a jscontent="name" 302 <a jscontent="name"
253 jsvalues=".href:'#' + href">h2Name</a> 303 jsvalues=".href:'#' + href">h2Name</a>
254 <ol> 304 <ol>
255 <li jsselect="$this.children"> 305 <li jsselect="$this.children">
256 <a jscontent="name" 306 <a jscontent="name"
257 jsvalues=".href:'#' + href">h3Name</a> 307 jsvalues=".href:'#' + href">h3Name</a>
258 </li> 308 </li>
259 </ol> 309 </ol>
260 </li> 310 </li>
261 <li jsselect="apiDefinition"> 311 <li jsselect="apiDefinition" jsvalues="$type:''">
262 <a href="#apiReference" jscontent="'API reference: ' + getModule Name()">API reference</a> 312 <a href="#apiReference" jscontent="'API reference: ' + getModule Name()">API reference</a>
263 <ol> 313 <ol>
264 <li jsdisplay="$this.properties"> 314 <div transclude="propertiesTocTemplate"></div>
265 <a href="#properties">Properties</a> 315 <div transclude="methodsTocTemplate"></div>
266 <ol> 316 <div transclude="eventsTocTemplate"></div>
267 <li jsselect="getPropertyListFromObject($this)"> 317 <div transclude="typesTocTemplate"></div>
268 <a jscontent="name"
269 jsvalues=".href:'#property-' + name"
270 href="#property-anchor">propertyName</a>
271 </li>
272 </ol>
273 </li>
274 <li jsdisplay="functions && functions.length > 0">
275 <a jsvalues=".href:'#' + getAnchorName('global', 'methods')" >Methods</a>
276 <ol>
277 <li jsselect="functions.sort(sortByName)"
278 jsdisplay="!($this.nodoc)">
279 <a jscontent="name"
280 jsvalues=".href:'#' + getAnchorName('method', name)"
281 href="#method-anchor">methodName</a>
282 </li>
283 </ol>
284 </li>
285 <li jsdisplay="events && events.length > 0">
286 <a jsvalues=".href:'#' + getAnchorName('global', 'events')"> Events</a>
287 <ol>
288 <li jsselect="events.sort(sortByName)"
289 jsdisplay="!($this.nodoc)">
290 <a jscontent="name"
291 jsvalues=".href:'#' + getAnchorName('event', name)"
292 href="#event-anchor">eventName</a>
293 </li>
294 </ol>
295 </li>
296 <li jsdisplay="types && types.length > 0">
297 <a href="#types">Types</a>
298 <ol>
299 <li jsselect="types.sort(sortByName)">
300 <a jscontent="id"
301 jsvalues=".href:'#type-' + id"
302 href="#id-anchor">id</a>
303 </li>
304 </ol>
305 </li>
306 </ol> 318 </ol>
307 </li> 319 </li>
308 </ol> 320 </ol>
309 </div> 321 </div>
310 <!-- /TABLE OF CONTENTS --> 322 <!-- /TABLE OF CONTENTS -->
311 323
312 <!-- Standard content lead-in for experimental API pages --> 324 <!-- Standard content lead-in for experimental API pages -->
313 <p jsdisplay="isExperimentalAPIPage();" id="classSummary"> 325 <p jsdisplay="isExperimentalAPIPage();" id="classSummary">
314 For information on how to use experimental APIs, see the <a href="expe rimental.html">chrome.experimental.* APIs</a> page. 326 For information on how to use experimental APIs, see the <a href="expe rimental.html">chrome.experimental.* APIs</a> page.
315 </p> 327 </p>
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 _uanchor=1; 540 _uanchor=1;
529 _uff=0; 541 _uff=0;
530 urchinTracker(); 542 urchinTracker();
531 } 543 }
532 catch(e) {/* urchinTracker not available. */} 544 catch(e) {/* urchinTracker not available. */}
533 </script> 545 </script>
534 <!-- end analytics --> 546 <!-- end analytics -->
535 </div> 547 </div>
536 </div> <!-- /gc-footer --> 548 </div> <!-- /gc-footer -->
537 </div> <!-- /gc-container --> 549 </div> <!-- /gc-container -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698