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

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

Issue 8800006: Support chrome-extension:// scheme in URLPattern. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed jam's comments Created 9 years 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="pageData-name" class="pageData">WebRequest API</div> 1 <div id="pageData-name" class="pageData">WebRequest API</div>
2 2
3 <!-- BEGIN AUTHORED CONTENT --> 3 <!-- BEGIN AUTHORED CONTENT -->
4 <p id="classSummary"> 4 <p id="classSummary">
5 Use the <code>chrome.webRequest</code> module to intercept, block, 5 Use the <code>chrome.webRequest</code> module to intercept, block,
6 or modify requests in-flight. This module is still experimental. For 6 or modify requests in-flight. This module is still experimental. For
7 information on how to use experimental APIs, see the 7 information on how to use experimental APIs, see the
8 <a href="experimental.html">chrome.experimental.* APIs</a> page. 8 <a href="experimental.html">chrome.experimental.* APIs</a> page.
9 </p> 9 </p>
10 10
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 <p>Depending on the specific signal, <code>opt_extraInfoSpec</code> may contain 188 <p>Depending on the specific signal, <code>opt_extraInfoSpec</code> may contain
189 further strings that indicate that specific information shall be passed to the 189 further strings that indicate that specific information shall be passed to the
190 extension. This is used to provide detailed information on requests data only if 190 extension. This is used to provide detailed information on requests data only if
191 explicitly requested.</p> 191 explicitly requested.</p>
192 192
193 <p>The optional <a href="#type-RequestFilter">RequestFilter</a> 193 <p>The optional <a href="#type-RequestFilter">RequestFilter</a>
194 <code>opt_filter</code> allows to limit the requests for which events are 194 <code>opt_filter</code> allows to limit the requests for which events are
195 triggered in various dimensions: 195 triggered in various dimensions:
196 <dl> 196 <dl>
197 <dt>URLs</dt> 197 <dt>URLs</dt>
198 <dd>URL patterns like <code>*://www.google.com/foo*bar</code>.</dd> 198 <dd><a href="match_patterns.html">URL patterns</a> like
199 <code>*://www.google.com/foo*bar</code>, <code>chrome-extension://*/*</code>.
Aaron Boodman 2011/12/06 06:43:23 I don't think that you should call out chrome-exte
battre 2011/12/06 12:51:35 Done.
200 </dd>
199 <dt>Types</dt> 201 <dt>Types</dt>
200 <dd>Request types like <code>main_frame</code> (a document that is loaded for 202 <dd>Request types like <code>main_frame</code> (a document that is loaded for
201 a top-level frame), <code>sub_frame</code> (a document that is loaded for an 203 a top-level frame), <code>sub_frame</code> (a document that is loaded for an
202 embedded frame), <code>image</code> (an image on a web site) and others. See 204 embedded frame), <code>image</code> (an image on a web site) and others. See
203 <a href="#type-RequestFilter">RequestFilter</a>.</dd> 205 <a href="#type-RequestFilter">RequestFilter</a>.</dd>
204 <dt>Tab IDs</dt> 206 <dt>Tab IDs</dt>
205 <dd>The ID that identifies a specific tab in a window.</dd> 207 <dd>The ID that identifies a specific tab in a window.</dd>
206 <dt>Window IDs</dt> 208 <dt>Window IDs</dt>
207 <dd>The ID that identifies a specific window.</dd> 209 <dd>The ID that identifies a specific window.</dd>
208 </p> 210 </p>
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 // Attention: The frameUrl can be undefined in some cases. Requests may not 317 // Attention: The frameUrl can be undefined in some cases. Requests may not
316 // originate from a frame (e.g. requests from extensions or shared workers). 318 // originate from a frame (e.g. requests from extensions or shared workers).
317 }); 319 });
318 320
319 chrome.windows.onRemoved.addListener( 321 chrome.windows.onRemoved.addListener(
320 function(windowId) {delete frameUrl[windowId];} 322 function(windowId) {delete frameUrl[windowId];}
321 ); 323 );
322 </pre> 324 </pre>
323 --> 325 -->
324 <!-- END AUTHORED CONTENT --> 326 <!-- END AUTHORED CONTENT -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698