| OLD | NEW |
| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 <a href="#event-onResourceAdded">onResourceAdded</a> | 232 <a href="#event-onResourceAdded">onResourceAdded</a> |
| 233 </li><li> | 233 </li><li> |
| 234 <a href="#event-onResourceContentCommitted">onResourceContentCom
mitted</a> | 234 <a href="#event-onResourceContentCommitted">onResourceContentCom
mitted</a> |
| 235 </li> | 235 </li> |
| 236 </ol> | 236 </ol> |
| 237 </li> | 237 </li> |
| 238 <li> | 238 <li> |
| 239 <a href="#types">Types</a> | 239 <a href="#types">Types</a> |
| 240 <ol> | 240 <ol> |
| 241 <li> | 241 <li> |
| 242 <a href="#type-Resource">null</a> | 242 <a href="#type-devtools.inspectedWindow.Resource">Resource</a> |
| 243 <ol> | 243 <ol> |
| 244 <li> | 244 <li> |
| 245 <a href="#global-Resource-methods">Methods</a> | 245 <a href="#global-devtools.inspectedWindow.Resource-methods">Methods<
/a> |
| 246 <ol> | 246 <ol> |
| 247 <li> | 247 <li> |
| 248 <a href="#method-Resource-getContent">getContent</a> | 248 <a href="#method-devtools.inspectedWindow.Resource-getContent">g
etContent</a> |
| 249 </li><li> | 249 </li><li> |
| 250 <a href="#method-Resource-setContent">setContent</a> | 250 <a href="#method-devtools.inspectedWindow.Resource-setContent">s
etContent</a> |
| 251 </li> | 251 </li> |
| 252 </ol> | 252 </ol> |
| 253 </li> | 253 </li> |
| 254 </ol> | 254 </ol> |
| 255 </li> | 255 </li> |
| 256 </ol> | 256 </ol> |
| 257 </li> | 257 </li> |
| 258 </ol> | 258 </ol> |
| 259 </li> | 259 </li> |
| 260 </ol> | 260 </ol> |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 <!-- EVENTS --> | 636 <!-- EVENTS --> |
| 637 <div id="eventsTemplate" class="apiGroup"> | 637 <div id="eventsTemplate" class="apiGroup"> |
| 638 <a name="global-events"></a> | 638 <a name="global-events"></a> |
| 639 <h3>Events</h3> | 639 <h3>Events</h3> |
| 640 <!-- iterates over all events --> | 640 <!-- iterates over all events --> |
| 641 <div class="apiItem"> | 641 <div class="apiItem"> |
| 642 <a name="event-onResourceAdded"></a> | 642 <a name="event-onResourceAdded"></a> |
| 643 <h4>onResourceAdded</h4> | 643 <h4>onResourceAdded</h4> |
| 644 <div class="summary"> | 644 <div class="summary"> |
| 645 <!-- Note: intentionally longer 80 columns --> | 645 <!-- Note: intentionally longer 80 columns --> |
| 646 <span class="subdued">chrome.devtools.inspectedWindow.</span><sp
an>onResourceAdded</span><span class="subdued">.addListener</span>(function(<spa
n>Resource resource</span>) <span class="subdued">{...}</span><span></span>); | 646 <span class="subdued">chrome.devtools.inspectedWindow.</span><sp
an>onResourceAdded</span><span class="subdued">.addListener</span>(function(<spa
n>devtools.inspectedWindow.Resource resource</span>) <span class="subdued">{...}
</span><span></span>); |
| 647 </div> | 647 </div> |
| 648 <div class="description"> | 648 <div class="description"> |
| 649 <p>Fired when a new resource is added to the inspected page.</p> | 649 <p>Fired when a new resource is added to the inspected page.</p> |
| 650 <!-- LISTENER PARAMETERS --> | 650 <!-- LISTENER PARAMETERS --> |
| 651 <div> | 651 <div> |
| 652 <h4>Listener parameters</h4> | 652 <h4>Listener parameters</h4> |
| 653 <dl> | 653 <dl> |
| 654 <div> | 654 <div> |
| 655 <div> | 655 <div> |
| 656 <dt> | 656 <dt> |
| 657 <var>resource</var> | 657 <var>resource</var> |
| 658 <em> | 658 <em> |
| 659 <!-- TYPE --> | 659 <!-- TYPE --> |
| 660 <div style="display:inline"> | 660 <div style="display:inline"> |
| 661 ( | 661 ( |
| 662 <span id="typeTemplate"> | 662 <span id="typeTemplate"> |
| 663 <span> | 663 <span> |
| 664 <a href="devtools.inspectedWindow.html#type-Resource">Re
source</a> | 664 <a href="devtools.inspectedWindow.html#type-devtools.ins
pectedWindow.Resource">devtools.inspectedWindow.Resource</a> |
| 665 </span> | 665 </span> |
| 666 </span> | 666 </span> |
| 667 ) | 667 ) |
| 668 </div> | 668 </div> |
| 669 </em> | 669 </em> |
| 670 </dt> | 670 </dt> |
| 671 <dd class="todo"> | 671 <dd class="todo"> |
| 672 Undocumented. | 672 Undocumented. |
| 673 </dd> | 673 </dd> |
| 674 <!-- OBJECT PROPERTIES --> | 674 <!-- OBJECT PROPERTIES --> |
| 675 <!-- OBJECT METHODS --> | 675 <!-- OBJECT METHODS --> |
| 676 <!-- OBJECT EVENT FIELDS --> | 676 <!-- OBJECT EVENT FIELDS --> |
| 677 <!-- FUNCTION PARAMETERS --> | 677 <!-- FUNCTION PARAMETERS --> |
| 678 </div> | 678 </div> |
| 679 </div> | 679 </div> |
| 680 </dl> | 680 </dl> |
| 681 </div> | 681 </div> |
| 682 <!-- EXTRA PARAMETERS --> | 682 <!-- EXTRA PARAMETERS --> |
| 683 <!-- LISTENER RETURN VALUE --> | 683 <!-- LISTENER RETURN VALUE --> |
| 684 <dl> | 684 <dl> |
| 685 </dl> | 685 </dl> |
| 686 </div> <!-- /description --> | 686 </div> <!-- /description --> |
| 687 <!-- /description --> | 687 <!-- /description --> |
| 688 </div><div class="apiItem"> | 688 </div><div class="apiItem"> |
| 689 <a name="event-onResourceContentCommitted"></a> | 689 <a name="event-onResourceContentCommitted"></a> |
| 690 <h4>onResourceContentCommitted</h4> | 690 <h4>onResourceContentCommitted</h4> |
| 691 <div class="summary"> | 691 <div class="summary"> |
| 692 <!-- Note: intentionally longer 80 columns --> | 692 <!-- Note: intentionally longer 80 columns --> |
| 693 <span class="subdued">chrome.devtools.inspectedWindow.</span><sp
an>onResourceContentCommitted</span><span class="subdued">.addListener</span>(fu
nction(<span>Resource resource, string content</span>) <span class="subdued">{..
.}</span><span></span>); | 693 <span class="subdued">chrome.devtools.inspectedWindow.</span><sp
an>onResourceContentCommitted</span><span class="subdued">.addListener</span>(fu
nction(<span>devtools.inspectedWindow.Resource resource, string content</span>)
<span class="subdued">{...}</span><span></span>); |
| 694 </div> | 694 </div> |
| 695 <div class="description"> | 695 <div class="description"> |
| 696 <p>Fired when a new revision of the resource is committed (e.g.
user saves an edited version of the resource in the Developer Tools).</p> | 696 <p>Fired when a new revision of the resource is committed (e.g.
user saves an edited version of the resource in the Developer Tools).</p> |
| 697 <!-- LISTENER PARAMETERS --> | 697 <!-- LISTENER PARAMETERS --> |
| 698 <div> | 698 <div> |
| 699 <h4>Listener parameters</h4> | 699 <h4>Listener parameters</h4> |
| 700 <dl> | 700 <dl> |
| 701 <div> | 701 <div> |
| 702 <div> | 702 <div> |
| 703 <dt> | 703 <dt> |
| 704 <var>resource</var> | 704 <var>resource</var> |
| 705 <em> | 705 <em> |
| 706 <!-- TYPE --> | 706 <!-- TYPE --> |
| 707 <div style="display:inline"> | 707 <div style="display:inline"> |
| 708 ( | 708 ( |
| 709 <span id="typeTemplate"> | 709 <span id="typeTemplate"> |
| 710 <span> | 710 <span> |
| 711 <a href="devtools.inspectedWindow.html#type-Resource">Re
source</a> | 711 <a href="devtools.inspectedWindow.html#type-devtools.ins
pectedWindow.Resource">devtools.inspectedWindow.Resource</a> |
| 712 </span> | 712 </span> |
| 713 </span> | 713 </span> |
| 714 ) | 714 ) |
| 715 </div> | 715 </div> |
| 716 </em> | 716 </em> |
| 717 </dt> | 717 </dt> |
| 718 <dd class="todo"> | 718 <dd class="todo"> |
| 719 Undocumented. | 719 Undocumented. |
| 720 </dd> | 720 </dd> |
| 721 <!-- OBJECT PROPERTIES --> | 721 <!-- OBJECT PROPERTIES --> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 </div> <!-- /description --> | 756 </div> <!-- /description --> |
| 757 <!-- /description --> | 757 <!-- /description --> |
| 758 </div> <!-- /apiItem --> | 758 </div> <!-- /apiItem --> |
| 759 </div> <!-- /apiGroup --> | 759 </div> <!-- /apiGroup --> |
| 760 <!-- TYPES --> | 760 <!-- TYPES --> |
| 761 <div class="apiGroup"> | 761 <div class="apiGroup"> |
| 762 <a name="types"></a> | 762 <a name="types"></a> |
| 763 <h3 id="types">Types</h3> | 763 <h3 id="types">Types</h3> |
| 764 <!-- iterates over all types --> | 764 <!-- iterates over all types --> |
| 765 <div class="apiItem"> | 765 <div class="apiItem"> |
| 766 <a name="type-Resource"></a> | 766 <a name="type-devtools.inspectedWindow.Resource"></a> |
| 767 <h4>Resource</h4> | 767 <h4>devtools.inspectedWindow.Resource</h4> |
| 768 <div> | 768 <div> |
| 769 <dt> | 769 <dt> |
| 770 <em> | 770 <em> |
| 771 <!-- TYPE --> | 771 <!-- TYPE --> |
| 772 <div style="display:inline"> | 772 <div style="display:inline"> |
| 773 ( | 773 ( |
| 774 <span id="typeTemplate"> | 774 <span id="typeTemplate"> |
| 775 <span> | 775 <span> |
| 776 <span>object</span> | 776 <span>object</span> |
| 777 </span> | 777 </span> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 806 <!-- OBJECT METHODS --> | 806 <!-- OBJECT METHODS --> |
| 807 <!-- OBJECT EVENT FIELDS --> | 807 <!-- OBJECT EVENT FIELDS --> |
| 808 <!-- FUNCTION PARAMETERS --> | 808 <!-- FUNCTION PARAMETERS --> |
| 809 </div> | 809 </div> |
| 810 </div> | 810 </div> |
| 811 </dl> | 811 </dl> |
| 812 </dd> | 812 </dd> |
| 813 <!-- OBJECT METHODS --> | 813 <!-- OBJECT METHODS --> |
| 814 <dd> | 814 <dd> |
| 815 <div class="apiGroup"> | 815 <div class="apiGroup"> |
| 816 <a name="global-Resource-methods"></a> | 816 <a name="global-devtools.inspectedWindow.Resource-methods"></a> |
| 817 <h3>Methods of Resource</h3> | 817 <h3>Methods of devtools.inspectedWindow.Resource</h3> |
| 818 <!-- iterates over all functions --> | 818 <!-- iterates over all functions --> |
| 819 <div class="apiItem"> | 819 <div class="apiItem"> |
| 820 <a name="method-Resource-getContent"></a> <!-- method-anchor --> | 820 <a name="method-devtools.inspectedWindow.Resource-getContent"></a>
<!-- method-anchor --> |
| 821 <h4>getContent</h4> | 821 <h4>getContent</h4> |
| 822 <div class="summary"> | 822 <div class="summary"> |
| 823 <!-- Note: intentionally longer 80 columns --> | 823 <!-- Note: intentionally longer 80 columns --> |
| 824 <span>resource.getContent</span>(<span class="null"><span>func
tion</span> | 824 <span>devtools.inspectedWindow.Resource.getContent</span>(<spa
n class="null"><span>function</span> |
| 825 <var><span>callback</span></var></span>)</div> | 825 <var><span>callback</span></var></span>)</div> |
| 826 <div class="description"> | 826 <div class="description"> |
| 827 <p>Gets the content of the resource.</p> | 827 <p>Gets the content of the resource.</p> |
| 828 <!-- PARAMETERS --> | 828 <!-- PARAMETERS --> |
| 829 <h4>Parameters</h4> | 829 <h4>Parameters</h4> |
| 830 <dl> | 830 <dl> |
| 831 <div> | 831 <div> |
| 832 <div> | 832 <div> |
| 833 <dt> | 833 <dt> |
| 834 <var>callback</var> | 834 <var>callback</var> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 853 </div> | 853 </div> |
| 854 </div> | 854 </div> |
| 855 </dl> | 855 </dl> |
| 856 <!-- RETURNS --> | 856 <!-- RETURNS --> |
| 857 <dl> | 857 <dl> |
| 858 </dl> | 858 </dl> |
| 859 <!-- CALLBACK --> | 859 <!-- CALLBACK --> |
| 860 <!-- MIN_VERSION --> | 860 <!-- MIN_VERSION --> |
| 861 </div> <!-- /description --> | 861 </div> <!-- /description --> |
| 862 </div><div class="apiItem"> | 862 </div><div class="apiItem"> |
| 863 <a name="method-Resource-setContent"></a> <!-- method-anchor --> | 863 <a name="method-devtools.inspectedWindow.Resource-setContent"></a>
<!-- method-anchor --> |
| 864 <h4>setContent</h4> | 864 <h4>setContent</h4> |
| 865 <div class="summary"> | 865 <div class="summary"> |
| 866 <!-- Note: intentionally longer 80 columns --> | 866 <!-- Note: intentionally longer 80 columns --> |
| 867 <span>resource.setContent</span>(<span class="null"><span>stri
ng</span> | 867 <span>devtools.inspectedWindow.Resource.setContent</span>(<spa
n class="null"><span>string</span> |
| 868 <var><span>content</span></var></span><span class="null"><
span>, </span><span>boolean</span> | 868 <var><span>content</span></var></span><span class="null"><
span>, </span><span>boolean</span> |
| 869 <var><span>commit</span></var></span><span class="optional
"><span>, </span><span>function</span> | 869 <var><span>commit</span></var></span><span class="optional
"><span>, </span><span>function</span> |
| 870 <var><span>callback</span></var></span>)</div> | 870 <var><span>callback</span></var></span>)</div> |
| 871 <div class="description"> | 871 <div class="description"> |
| 872 <p>Sets the content of the resource.</p> | 872 <p>Sets the content of the resource.</p> |
| 873 <!-- PARAMETERS --> | 873 <!-- PARAMETERS --> |
| 874 <h4>Parameters</h4> | 874 <h4>Parameters</h4> |
| 875 <dl> | 875 <dl> |
| 876 <div> | 876 <div> |
| 877 <div> | 877 <div> |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 999 _uff=0; | 999 _uff=0; |
| 1000 urchinTracker(); | 1000 urchinTracker(); |
| 1001 } | 1001 } |
| 1002 catch(e) {/* urchinTracker not available. */} | 1002 catch(e) {/* urchinTracker not available. */} |
| 1003 </script> | 1003 </script> |
| 1004 <!-- end analytics --> | 1004 <!-- end analytics --> |
| 1005 </div> | 1005 </div> |
| 1006 </div> <!-- /gc-footer --> | 1006 </div> <!-- /gc-footer --> |
| 1007 </div> <!-- /gc-container --> | 1007 </div> <!-- /gc-container --> |
| 1008 </body></html> | 1008 </body></html> |
| OLD | NEW |