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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 <ol> | 200 <ol> |
201 </ol> | 201 </ol> |
202 </li> | 202 </li> |
203 <li> | 203 <li> |
204 <a href="#apiReference">API reference: chrome.experimental.downl
oads</a> | 204 <a href="#apiReference">API reference: chrome.experimental.downl
oads</a> |
205 <ol> | 205 <ol> |
206 <li> | 206 <li> |
207 <a href="#properties">Properties</a> | 207 <a href="#properties">Properties</a> |
208 <ol> | 208 <ol> |
209 <li> | 209 <li> |
| 210 <a href="#property-DANGER_UNCOMMON">DANGER_UNCOMMON</a> |
| 211 </li><li> |
210 <a href="#property-ERROR_GENERIC">ERROR_GENERIC</a> | 212 <a href="#property-ERROR_GENERIC">ERROR_GENERIC</a> |
211 </li><li> | 213 </li><li> |
212 <a href="#property-ERROR_INVALID_URL">ERROR_INVALID_URL</a> | 214 <a href="#property-ERROR_INVALID_URL">ERROR_INVALID_URL</a> |
213 </li> | 215 </li> |
214 </ol> | 216 </ol> |
215 </li> | 217 </li> |
216 <li> | 218 <li> |
217 <a href="#global-methods">Methods</a> | 219 <a href="#global-methods">Methods</a> |
218 <ol> | 220 <ol> |
219 <li> | 221 <li> |
220 <a href="#method-download">download</a> | 222 <a href="#method-download">download</a> |
221 </li> | 223 </li> |
222 </ol> | 224 </ol> |
223 </li> | 225 </li> |
224 <li> | 226 <li> |
225 <a href="#types">Types</a> | 227 <a href="#types">Types</a> |
226 <ol> | 228 <ol> |
227 <li> | 229 <li> |
228 <a href="#type-HttpHeaders">HttpHeaders</a> | 230 <a href="#type-HttpHeaders">HttpHeaders</a> |
229 <ol> | 231 <ol> |
230 </ol> | 232 </ol> |
| 233 </li><li> |
| 234 <a href="#type-DownloadDangerType">DownloadDangerType</a> |
| 235 <ol> |
| 236 </ol> |
231 </li> | 237 </li> |
232 </ol> | 238 </ol> |
233 </li> | 239 </li> |
234 </ol> | 240 </ol> |
235 </li> | 241 </li> |
236 </ol> | 242 </ol> |
237 </div> | 243 </div> |
238 <!-- /TABLE OF CONTENTS --> | 244 <!-- /TABLE OF CONTENTS --> |
239 <!-- Standard content lead-in for experimental API pages --> | 245 <!-- Standard content lead-in for experimental API pages --> |
240 <p id="classSummary"> | 246 <p id="classSummary"> |
(...skipping 27 matching lines...) Expand all Loading... |
268 </div> | 274 </div> |
269 <!-- API PAGE --> | 275 <!-- API PAGE --> |
270 <div class="apiPage"> | 276 <div class="apiPage"> |
271 <a name="apiReference"></a> | 277 <a name="apiReference"></a> |
272 <h2>API reference: chrome.experimental.downloads</h2> | 278 <h2>API reference: chrome.experimental.downloads</h2> |
273 <!-- PROPERTIES --> | 279 <!-- PROPERTIES --> |
274 <div class="apiGroup"> | 280 <div class="apiGroup"> |
275 <a name="properties"></a> | 281 <a name="properties"></a> |
276 <h3 id="properties">Properties</h3> | 282 <h3 id="properties">Properties</h3> |
277 <div> | 283 <div> |
| 284 <a name="property-DANGER_UNCOMMON"></a> |
| 285 <h4>DANGER_UNCOMMON</h4> |
| 286 <div class="summary"> |
| 287 <!-- Note: intentionally longer 80 columns --> |
| 288 <span>chrome.experimental.downloads.</span><span>DANGER_UNCOMMON
</span> |
| 289 </div> |
| 290 <div> |
| 291 <dt> |
| 292 <var>DANGER_UNCOMMON</var> |
| 293 <em> |
| 294 <!-- TYPE --> |
| 295 <div style="display:inline"> |
| 296 ( |
| 297 <span id="typeTemplate"> |
| 298 <code>"uncommon"</code> |
| 299 </span> |
| 300 ) |
| 301 </div> |
| 302 </em> |
| 303 </dt> |
| 304 <dd>The download is not commonly downloaded and could be dangerous.</d
d> |
| 305 <!-- OBJECT PROPERTIES --> |
| 306 <!-- OBJECT METHODS --> |
| 307 <!-- OBJECT EVENT FIELDS --> |
| 308 <!-- FUNCTION PARAMETERS --> |
| 309 </div> |
| 310 </div><div> |
278 <a name="property-ERROR_GENERIC"></a> | 311 <a name="property-ERROR_GENERIC"></a> |
279 <h4>ERROR_GENERIC</h4> | 312 <h4>ERROR_GENERIC</h4> |
280 <div class="summary"> | 313 <div class="summary"> |
281 <!-- Note: intentionally longer 80 columns --> | 314 <!-- Note: intentionally longer 80 columns --> |
282 <span>chrome.experimental.downloads.</span><span>ERROR_GENERIC</
span> | 315 <span>chrome.experimental.downloads.</span><span>ERROR_GENERIC</
span> |
283 </div> | 316 </div> |
284 <div> | 317 <div> |
285 <dt> | 318 <dt> |
286 <var>ERROR_GENERIC</var> | 319 <var>ERROR_GENERIC</var> |
287 <em> | 320 <em> |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 <!-- OBJECT EVENT FIELDS --> | 741 <!-- OBJECT EVENT FIELDS --> |
709 <!-- FUNCTION PARAMETERS --> | 742 <!-- FUNCTION PARAMETERS --> |
710 </div> | 743 </div> |
711 </div> | 744 </div> |
712 </dl> | 745 </dl> |
713 </dd> | 746 </dd> |
714 <!-- OBJECT METHODS --> | 747 <!-- OBJECT METHODS --> |
715 <!-- OBJECT EVENT FIELDS --> | 748 <!-- OBJECT EVENT FIELDS --> |
716 <!-- FUNCTION PARAMETERS --> | 749 <!-- FUNCTION PARAMETERS --> |
717 </div> | 750 </div> |
| 751 </div><div class="apiItem"> |
| 752 <a name="type-DownloadDangerType"></a> |
| 753 <h4>DownloadDangerType</h4> |
| 754 <div> |
| 755 <dt> |
| 756 <em> |
| 757 <!-- TYPE --> |
| 758 <div style="display:inline"> |
| 759 ( |
| 760 <span class="enum">enumerated</span> |
| 761 <span id="typeTemplate"> |
| 762 <span> |
| 763 <span>string</span> |
| 764 <span>["safe", "file", "url", "content", "uncommon"]</sp
an> |
| 765 </span> |
| 766 </span> |
| 767 ) |
| 768 </div> |
| 769 </em> |
| 770 </dt> |
| 771 <dd>String indicating whether a download is known to be safe or is con
sidered dangerous. The values correspond to the <code>DANGER_SAFE</code>, <code>
DANGER_FILE</code>, <code>DANGER_URL</code>, <code>DANGER_CONTENT</code>, and <c
ode>DANGER_UNCOMMON</code> properties.</dd> |
| 772 <!-- OBJECT PROPERTIES --> |
| 773 <!-- OBJECT METHODS --> |
| 774 <!-- OBJECT EVENT FIELDS --> |
| 775 <!-- FUNCTION PARAMETERS --> |
| 776 </div> |
718 </div> <!-- /apiItem --> | 777 </div> <!-- /apiItem --> |
719 </div> <!-- /apiGroup --> | 778 </div> <!-- /apiGroup --> |
720 </div> <!-- /apiPage --> | 779 </div> <!-- /apiPage --> |
721 </div> <!-- /gc-pagecontent --> | 780 </div> <!-- /gc-pagecontent --> |
722 </div> <!-- /g-section --> | 781 </div> <!-- /g-section --> |
723 </div> <!-- /codesiteContent --> | 782 </div> <!-- /codesiteContent --> |
724 <div id="gc-footer" --=""> | 783 <div id="gc-footer" --=""> |
725 <div class="text"> | 784 <div class="text"> |
726 <p> | 785 <p> |
727 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
">noted</a>, | 786 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
">noted</a>, |
(...skipping 20 matching lines...) Expand all Loading... |
748 _uff=0; | 807 _uff=0; |
749 urchinTracker(); | 808 urchinTracker(); |
750 } | 809 } |
751 catch(e) {/* urchinTracker not available. */} | 810 catch(e) {/* urchinTracker not available. */} |
752 </script> | 811 </script> |
753 <!-- end analytics --> | 812 <!-- end analytics --> |
754 </div> | 813 </div> |
755 </div> <!-- /gc-footer --> | 814 </div> <!-- /gc-footer --> |
756 </div> <!-- /gc-container --> | 815 </div> <!-- /gc-container --> |
757 </body></html> | 816 </body></html> |
OLD | NEW |