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

Side by Side Diff: chrome/common/extensions/docs/api_other.html

Issue 209067: Modify the template to add analytics to all extension docs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
2 1) The <head> information in this page is significant, should be uniform 2 1) The <head> information in this page is significant, should be uniform
3 across api docs and should be edited only with knowledge of the 3 across api docs and should be edited only with knowledge of the
4 templating mechanism. 4 templating mechanism.
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
6 browser, it will be re-generated from the template, json schema and 6 browser, it will be re-generated from the template, json schema and
7 authored overview content. 7 authored overview content.
8 4) The <body>.innerHTML is also generated by an offline step so that this 8 4) The <body>.innerHTML is also generated by an offline step so that this
9 page may easily be indexed by search engines. 9 page may easily be indexed by search engines.
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 If the browser doesn't support an API you want to use, 204 If the browser doesn't support an API you want to use,
205 you can bundle additional API libraries into your extension. 205 you can bundle additional API libraries into your extension.
206 </p> 206 </p>
207 207
208 <p>Here's a sampling of the APIs that extensions can use:</p> 208 <p>Here's a sampling of the APIs that extensions can use:</p>
209 209
210 <dl> 210 <dl>
211 <dt><strong> Standard JavaScript APIs </strong></dt> 211 <dt><strong> Standard JavaScript APIs </strong></dt>
212 <dd> These are the same core JavaScript and DOM APIs 212 <dd> These are the same core JavaScript and DOM APIs
213 that you can use in ordinary web apps. 213 that you can use in ordinary web apps.
214 <span class="comment">[PENDING: check! should link to complete list]</span> 214 <span class="comment">[PENDING: check! should link to complete list]</span>
215 <!-- Use onclick in your toolbar div to add click behavior. 215 <!-- Use onclick in your toolbar div to add click behavior.
216 E.g. window.open(someUrl). --></dd> 216 E.g. window.open(someUrl). --></dd>
217 <dt><strong> XMLHttpRequest </strong></dt> 217 <dt><strong> XMLHttpRequest </strong></dt>
218 <dd> 218 <dd>
219 Use <a href="xhr.html">XMLHttpRequest</a> 219 Use <a href="xhr.html">XMLHttpRequest</a>
220 to request data from one or more servers. 220 to request data from one or more servers.
221 The <a href="manifest.html#permissions">permissions</a> field 221 The <a href="manifest.html#permissions">permissions</a> field
222 of the manifest specifies 222 of the manifest specifies
223 which hosts the extension can send requests to. 223 which hosts the extension can send requests to.
224 </dd> 224 </dd>
225 <dt><strong> WebKit APIs </strong></dt> 225 <dt><strong> WebKit APIs </strong></dt>
226 <dd> 226 <dd>
227 Because Google Chrome is built upon WebKit, 227 Because Google Chrome is built upon WebKit,
228 your extensions can use WebKit APIs. 228 your extensions can use WebKit APIs.
229 Especially useful are the experimental CSS features 229 Especially useful are the experimental CSS features
230 such as filters, animations, and transformations. 230 such as filters, animations, and transformations.
231 Here's an example of using WebKit styles 231 Here's an example of using WebKit styles
232 to make the UI spin: 232 to make the UI spin:
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 <div id="pageFooter" --=""> 405 <div id="pageFooter" --="">
406 <p> 406 <p>
407 Except as otherwise <a href="http://code.google.com/policies.html#restrictions ">noted</a>, 407 Except as otherwise <a href="http://code.google.com/policies.html#restrictions ">noted</a>,
408 the content of this page is licensed under the <a rel="license" href="http://c reativecommons.org/licenses/by/3.0/">Creative Commons 408 the content of this page is licensed under the <a rel="license" href="http://c reativecommons.org/licenses/by/3.0/">Creative Commons
409 Attribution 3.0 License</a>, and code samples are licensed under the 409 Attribution 3.0 License</a>, and code samples are licensed under the
410 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic ense</a>. 410 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD Lic ense</a>.
411 </p> 411 </p>
412 <p> 412 <p>
413 ©2009 Google 413 ©2009 Google
414 </p> 414 </p>
415
416 <!-- begin analytics -->
417 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">< /script>
418 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></scr ipt>
419
420 <script type="text/javascript">
421 // chrome doc tracking
422 try {
423 var engdocs = _gat._getTracker("YT-10763712-2");
424 engdocs._trackPageview();
425 } catch(err) {}
426
427 // code.google.com site-wide tracking
428 try {
429 _uacct="UA-18071-1";
430 _uanchor=1;
431 _uff=0;
432 urchinTracker();
433 }
434 catch(e) {/* urchinTracker not available. */}
435 </script>
436 <!-- end analytics -->
437
415 </div> <!-- /pageFooter --> 438 </div> <!-- /pageFooter -->
416 </div> <!-- /container --> 439 </div> <!-- /container -->
417 </body></html> 440 </body></html>
418 441
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/api_index.html ('k') | chrome/common/extensions/docs/autoupdate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698