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/webRequest.html

Issue 9192029: Bindings layer for declarative events API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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 <!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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 </li><li> 388 </li><li>
389 <a href="#event-onBeforeRequest">onBeforeRequest</a> 389 <a href="#event-onBeforeRequest">onBeforeRequest</a>
390 </li><li> 390 </li><li>
391 <a href="#event-onBeforeSendHeaders">onBeforeSendHeaders</a> 391 <a href="#event-onBeforeSendHeaders">onBeforeSendHeaders</a>
392 </li><li> 392 </li><li>
393 <a href="#event-onCompleted">onCompleted</a> 393 <a href="#event-onCompleted">onCompleted</a>
394 </li><li> 394 </li><li>
395 <a href="#event-onErrorOccurred">onErrorOccurred</a> 395 <a href="#event-onErrorOccurred">onErrorOccurred</a>
396 </li><li> 396 </li><li>
397 <a href="#event-onHeadersReceived">onHeadersReceived</a> 397 <a href="#event-onHeadersReceived">onHeadersReceived</a>
398 </li><li style="display: none; ">
399 <a href="#event-anchor">eventName</a>
398 </li><li> 400 </li><li>
399 <a href="#event-onResponseStarted">onResponseStarted</a> 401 <a href="#event-onResponseStarted">onResponseStarted</a>
400 </li><li> 402 </li><li>
401 <a href="#event-onSendHeaders">onSendHeaders</a> 403 <a href="#event-onSendHeaders">onSendHeaders</a>
402 </li> 404 </li>
403 </ol> 405 </ol>
404 </li> 406 </li>
405 <li> 407 <li>
406 <a href="#types">Types</a> 408 <a href="#types">Types</a>
407 <ol> 409 <ol>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 </li> 460 </li>
459 <li style="display: none; "> 461 <li style="display: none; ">
460 <a>Events</a> 462 <a>Events</a>
461 <ol> 463 <ol>
462 <li> 464 <li>
463 <a href="#event-anchor">eventName</a> 465 <a href="#event-anchor">eventName</a>
464 </li> 466 </li>
465 </ol> 467 </ol>
466 </li> 468 </li>
467 </ol> 469 </ol>
470 </li><li style="display: none; ">
471 <a href="#id-anchor">id</a>
472 <ol>
473 <div></div>
474 <div></div>
475 </ol>
476 </li><li style="display: none; ">
477 <a href="#id-anchor">id</a>
478 <ol>
479 <div></div>
480 <div></div>
481 </ol>
482 </li><li style="display: none; ">
483 <a href="#id-anchor">id</a>
484 <ol>
485 <div></div>
486 <div></div>
487 </ol>
468 </li> 488 </li>
469 </ol> 489 </ol>
470 </li> 490 </li>
471 </ol> 491 </ol>
472 </li> 492 </li>
473 </ol> 493 </ol>
474 </div> 494 </div>
475 <!-- /TABLE OF CONTENTS --> 495 <!-- /TABLE OF CONTENTS -->
476 496
477 <!-- Standard content lead-in for experimental API pages --> 497 <!-- Standard content lead-in for experimental API pages -->
(...skipping 8129 matching lines...) Expand 10 before | Expand all | Expand 10 after
8607 <!-- FUNCTION PARAMETERS --> 8627 <!-- FUNCTION PARAMETERS -->
8608 <dd style="display: none; "> 8628 <dd style="display: none; ">
8609 <div></div> 8629 <div></div>
8610 </dd> 8630 </dd>
8611 8631
8612 </div> 8632 </div>
8613 </div> 8633 </div>
8614 </dl> 8634 </dl>
8615 8635
8616 </div> <!-- /description --> 8636 </div> <!-- /description -->
8637 </div><div class="apiItem" style="display: none; ">
8638 <a></a>
8639 <h4>event name</h4>
8640
8641 <div class="summary">
8642 <!-- Note: intentionally longer 80 columns -->
8643 <span class="subdued">chrome.bookmarks</span><span>onEvent</span ><span class="subdued">.addListener</span>(function(<span>Type param1, Type para m2</span>) <span class="subdued">{...}</span><span>, Type opt_param1, Type opt_p aram2</span>);
8644 </div>
8645
8646 <div class="description">
8647 <p class="todo">Undocumented.</p>
8648 <p>
8649 A description from the json schema def of the event goes here.
8650 </p>
8651
8652 <!-- LISTENER PARAMETERS -->
8653 <div>
8654 <h4>Listener parameters</h4>
8655 <dl>
8656 <div>
8657 <div>
8658 </div>
8659 </div>
8660 </dl>
8661 </div>
8662
8663 <!-- EXTRA PARAMETERS -->
8664 <div>
8665 <h4>Extra parameters to addListener</h4>
8666 <dl>
8667 <div>
8668 <div>
8669 </div>
8670 </div>
8671 </dl>
8672 </div>
8673
8674 <!-- LISTENER RETURN VALUE -->
8675 <h4>Listener returns</h4>
8676 <dl>
8677 <div>
8678 <div>
8679 </div>
8680 </div>
8681 </dl>
8682
8683 </div> <!-- /description -->
8617 </div><div class="apiItem"> 8684 </div><div class="apiItem">
8618 <a name="event-onResponseStarted"></a> 8685 <a name="event-onResponseStarted"></a>
8619 <h4>onResponseStarted</h4> 8686 <h4>onResponseStarted</h4>
8620 8687
8621 <div class="summary"> 8688 <div class="summary">
8622 <!-- Note: intentionally longer 80 columns --> 8689 <!-- Note: intentionally longer 80 columns -->
8623 <span class="subdued">chrome.webRequest.</span><span>onResponseS tarted</span><span class="subdued">.addListener</span>(function(<span>object det ails</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, arr ay of string extraInfoSpec</span>); 8690 <span class="subdued">chrome.webRequest.</span><span>onResponseS tarted</span><span class="subdued">.addListener</span>(function(<span>object det ails</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, arr ay of string extraInfoSpec</span>);
8624 </div> 8691 </div>
8625 8692
8626 <div class="description"> 8693 <div class="description">
(...skipping 3204 matching lines...) Expand 10 before | Expand all | Expand 10 after
11831 <div></div> 11898 <div></div>
11832 </dd> 11899 </dd>
11833 11900
11834 <!-- FUNCTION PARAMETERS --> 11901 <!-- FUNCTION PARAMETERS -->
11835 <dd style="display: none; "> 11902 <dd style="display: none; ">
11836 <div></div> 11903 <div></div>
11837 </dd> 11904 </dd>
11838 11905
11839 </div> 11906 </div>
11840 11907
11908 </div><div class="apiItem" style="display: none; ">
11909 <a></a>
11910 <h4>type name</h4>
11911
11912 <div>
11913 </div>
11914
11915 </div><div class="apiItem" style="display: none; ">
11916 <a></a>
11917 <h4>type name</h4>
11918
11919 <div>
11920 </div>
11921
11922 </div><div class="apiItem" style="display: none; ">
11923 <a></a>
11924 <h4>type name</h4>
11925
11926 <div>
11927 </div>
11928
11841 </div> <!-- /apiItem --> 11929 </div> <!-- /apiItem -->
11842 11930
11843 </div> <!-- /apiGroup --> 11931 </div> <!-- /apiGroup -->
11844 11932
11845 </div> <!-- /apiPage --> 11933 </div> <!-- /apiPage -->
11846 </div> <!-- /gc-pagecontent --> 11934 </div> <!-- /gc-pagecontent -->
11847 </div> <!-- /g-section --> 11935 </div> <!-- /g-section -->
11848 </div> <!-- /codesiteContent --> 11936 </div> <!-- /codesiteContent -->
11849 <div id="gc-footer" --=""> 11937 <div id="gc-footer" --="">
11850 <div class="text"> 11938 <div class="text">
(...skipping 25 matching lines...) Expand all
11876 _uff=0; 11964 _uff=0;
11877 urchinTracker(); 11965 urchinTracker();
11878 } 11966 }
11879 catch(e) {/* urchinTracker not available. */} 11967 catch(e) {/* urchinTracker not available. */}
11880 </script> 11968 </script>
11881 <!-- end analytics --> 11969 <!-- end analytics -->
11882 </div> 11970 </div>
11883 </div> <!-- /gc-footer --> 11971 </div> <!-- /gc-footer -->
11884 </div> <!-- /gc-container --> 11972 </div> <!-- /gc-container -->
11885 </body></html> 11973 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698