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

Side by Side Diff: chrome/common/extensions/docs/experimental.webRequest.html

Issue 10012004: Implemented proper support for checking schemes and requested resource types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed 'scheme' to 'schemes' Created 8 years, 8 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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 </dt> 628 </dt>
629 <dd>Matches if the URL starts with a specified string.</dd> 629 <dd>Matches if the URL starts with a specified string.</dd>
630 <!-- OBJECT PROPERTIES --> 630 <!-- OBJECT PROPERTIES -->
631 <!-- OBJECT METHODS --> 631 <!-- OBJECT METHODS -->
632 <!-- OBJECT EVENT FIELDS --> 632 <!-- OBJECT EVENT FIELDS -->
633 <!-- FUNCTION PARAMETERS --> 633 <!-- FUNCTION PARAMETERS -->
634 </div> 634 </div>
635 </div><div> 635 </div><div>
636 <div> 636 <div>
637 <dt> 637 <dt>
638 <var>scheme</var> 638 <var>schemes</var>
639 <em> 639 <em>
640 <!-- TYPE --> 640 <!-- TYPE -->
641 <div style="display:inline"> 641 <div style="display:inline">
642 ( 642 (
643 <span class="optional">optional</span> 643 <span class="optional">optional</span>
644 <span id="typeTemplate"> 644 <span id="typeTemplate">
645 <span> 645 <span>
646 <span>
647 array of <span><span>
648 <span>
646 <span>string</span> 649 <span>string</span>
647 </span> 650 </span>
651 </span></span>
652 </span>
653 </span>
648 </span> 654 </span>
649 ) 655 )
650 </div> 656 </div>
651 </em> 657 </em>
652 </dt> 658 </dt>
653 <dd>Matches if the scheme of the URL is equal to a specified string (T ODO: this will be expanded to an array).</dd> 659 <dd>Matches if the scheme of the URL is equal to any of the schemes sp ecified in the array.</dd>
654 <!-- OBJECT PROPERTIES --> 660 <!-- OBJECT PROPERTIES -->
655 <!-- OBJECT METHODS --> 661 <!-- OBJECT METHODS -->
656 <!-- OBJECT EVENT FIELDS --> 662 <!-- OBJECT EVENT FIELDS -->
663 <!-- FUNCTION PARAMETERS -->
664 </div>
665 </div><div>
666 <div>
667 <dt>
668 <var>resourceType</var>
669 <em>
670 <!-- TYPE -->
671 <div style="display:inline">
672 (
673 <span class="optional">optional</span>
674 <span id="typeTemplate">
675 <span>
676 <span>
677 array of <span><span>
678 <span>
679 <span>string</span>
680 <span>["main_frame", "sub_frame", "stylesheet", "script" , "image", "object", "xmlhttprequest", "other"]</span>
681 </span>
682 </span></span>
683 </span>
684 </span>
685 </span>
686 )
687 </div>
688 </em>
689 </dt>
690 <dd>Matches if the request type of a request is contained in the list. Requests that cannot match any of the types will be filtered out.</dd>
691 <!-- OBJECT PROPERTIES -->
692 <!-- OBJECT METHODS -->
693 <!-- OBJECT EVENT FIELDS -->
657 <!-- FUNCTION PARAMETERS --> 694 <!-- FUNCTION PARAMETERS -->
658 </div> 695 </div>
659 </div><div> 696 </div><div>
660 <div> 697 <div>
661 <dt> 698 <dt>
662 <var>instanceType</var> 699 <var>instanceType</var>
663 <em> 700 <em>
664 <!-- TYPE --> 701 <!-- TYPE -->
665 <div style="display:inline"> 702 <div style="display:inline">
666 ( 703 (
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 _uff=0; 895 _uff=0;
859 urchinTracker(); 896 urchinTracker();
860 } 897 }
861 catch(e) {/* urchinTracker not available. */} 898 catch(e) {/* urchinTracker not available. */}
862 </script> 899 </script>
863 <!-- end analytics --> 900 <!-- end analytics -->
864 </div> 901 </div>
865 </div> <!-- /gc-footer --> 902 </div> <!-- /gc-footer -->
866 </div> <!-- /gc-container --> 903 </div> <!-- /gc-container -->
867 </body></html> 904 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698