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

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

Issue 9192029: Bindings layer for declarative events API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Check whether eventName may be optional Created 8 years, 10 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="devModeWarning" class="displayModeWarning"> 1 <div id="devModeWarning" class="displayModeWarning">
2 You are viewing extension docs in chrome via the 'file:' scheme: are you exp ecting to see local changes when you refresh? You'll need run chrome with --allo w-file-access-from-files. 2 You are viewing extension docs in chrome via the 'file:' scheme: are you exp ecting to see local changes when you refresh? You'll need run chrome with --allo w-file-access-from-files.
3 </div> 3 </div>
4 <div id="branchWarning" class="displayModeWarning"> 4 <div id="branchWarning" class="displayModeWarning">
5 <span>WARNING: This is the <span id="branchName">BETA</span> documentation. 5 <span>WARNING: This is the <span id="branchName">BETA</span> documentation.
6 It may not work with the stable release of Chrome.</span> 6 It may not work with the stable release of Chrome.</span>
7 <select id='branchChooser'> 7 <select id='branchChooser'>
8 <option>Choose a different version... 8 <option>Choose a different version...
9 <option value="">Stable 9 <option value="">Stable
10 <option value="beta">Beta 10 <option value="beta">Beta
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 jsdisplay="!($this.nodoc)"> 142 jsdisplay="!($this.nodoc)">
143 <a jscontent="name" 143 <a jscontent="name"
144 jsvalues=".href:'#' + getAnchorName('event', name, $type)" 144 jsvalues=".href:'#' + getAnchorName('event', name, $type)"
145 href="#event-anchor">eventName</a> 145 href="#event-anchor">eventName</a>
146 </li> 146 </li>
147 </ol> 147 </ol>
148 </li> 148 </li>
149 <li id="typesTocTemplate" jsdisplay="types && types.length > 0"> 149 <li id="typesTocTemplate" jsdisplay="types && types.length > 0">
150 <a href="#types">Types</a> 150 <a href="#types">Types</a>
151 <ol> 151 <ol>
152 <li jsselect="types.sort(sortByName)"> 152 <li jsselect="types.sort(sortByName)"
153 jsdisplay="!($this.nodoc)">
153 <a jscontent="id" 154 <a jscontent="id"
154 jsvalues=".href:'#type-' + id" 155 jsvalues=".href:'#type-' + id"
155 href="#id-anchor">id</a> 156 href="#id-anchor">id</a>
156 <ol jsvalues="$type:id"> 157 <ol jsvalues="$type:id">
157 <div transclude="methodsTocTemplate"></div> 158 <div transclude="methodsTocTemplate"></div>
158 <div transclude="eventsTocTemplate"></div> 159 <div transclude="eventsTocTemplate"></div>
159 </ol> 160 </ol>
160 </li> 161 </li>
161 </ol> 162 </ol>
162 </li> 163 </li>
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 </div> <!-- /apiItem --> 508 </div> <!-- /apiItem -->
508 509
509 </div> <!-- /apiGroup --> 510 </div> <!-- /apiGroup -->
510 511
511 <!-- TYPES --> 512 <!-- TYPES -->
512 <div jsdisplay="types && types.length > 0" class="apiGroup"> 513 <div jsdisplay="types && types.length > 0" class="apiGroup">
513 <a name="types"></a> 514 <a name="types"></a>
514 <h3 id="types">Types</h3> 515 <h3 id="types">Types</h3>
515 516
516 <!-- iterates over all types --> 517 <!-- iterates over all types -->
517 <div jsselect="types.sort(sortByName)" class="apiItem"> 518 <div jsselect="types.sort(sortByName)" jsdisplay="!($this.nodoc)"
519 class="apiItem">
518 <a jsvalues=".name:'type-' + id"></a> 520 <a jsvalues=".name:'type-' + id"></a>
519 <h4 jscontent="id">type name</h4> 521 <h4 jscontent="id">type name</h4>
520 522
521 <div transclude="valueTemplate"> 523 <div transclude="valueTemplate">
522 </div> 524 </div>
523 525
524 </div> <!-- /apiItem --> 526 </div> <!-- /apiItem -->
525 527
526 </div> <!-- /apiGroup --> 528 </div> <!-- /apiGroup -->
527 529
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 _uanchor=1; 562 _uanchor=1;
561 _uff=0; 563 _uff=0;
562 urchinTracker(); 564 urchinTracker();
563 } 565 }
564 catch(e) {/* urchinTracker not available. */} 566 catch(e) {/* urchinTracker not available. */}
565 </script> 567 </script>
566 <!-- end analytics --> 568 <!-- end analytics -->
567 </div> 569 </div>
568 </div> <!-- /gc-footer --> 570 </div> <!-- /gc-footer -->
569 </div> <!-- /gc-container --> 571 </div> <!-- /gc-container -->
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/samples.json ('k') | chrome/renderer/extensions/custom_bindings_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698