| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html id="t" jsvalues="dir:textdirection;"> | 2 <html id="t" jsvalues="dir:textdirection;"> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title jscontent="title"></title> | 5 <title jscontent="title"></title> |
| 6 <link rel="icon" href="../../app/theme/downloads_favicon.png"> | 6 <link rel="icon" href="../../app/theme/downloads_favicon.png"> |
| 7 <style> | 7 <style> |
| 8 body { | 8 body { |
| 9 background-color:white; | 9 background-color:white; |
| 10 color:black; | 10 color:black; |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 this.percent_ = Math.max(download.percent, 0); | 494 this.percent_ = Math.max(download.percent, 0); |
| 495 this.progressStatusText_ = download.progress_status_text; | 495 this.progressStatusText_ = download.progress_status_text; |
| 496 this.received_ = download.received; | 496 this.received_ = download.received; |
| 497 | 497 |
| 498 if (this.state_ == Download.States.DANGEROUS) { | 498 if (this.state_ == Download.States.DANGEROUS) { |
| 499 this.dangerDesc_.innerHTML = localStrings.formatString('danger_desc', | 499 this.dangerDesc_.innerHTML = localStrings.formatString('danger_desc', |
| 500 this.fileName_); | 500 this.fileName_); |
| 501 this.danger_.style.display = 'block'; | 501 this.danger_.style.display = 'block'; |
| 502 this.safe_.style.display = 'none'; | 502 this.safe_.style.display = 'none'; |
| 503 } else { | 503 } else { |
| 504 this.nodeImg_.src = 'chrome-ui://fileicon/' + this.filePath_; | 504 this.nodeImg_.src = 'chrome://fileicon/' + this.filePath_; |
| 505 | 505 |
| 506 if (this.state_ == Download.States.COMPLETE) { | 506 if (this.state_ == Download.States.COMPLETE) { |
| 507 this.nodeFileLink_.innerHTML = this.fileName_; | 507 this.nodeFileLink_.innerHTML = this.fileName_; |
| 508 this.nodeFileLink_.href = this.filePath_; | 508 this.nodeFileLink_.href = this.filePath_; |
| 509 } else { | 509 } else { |
| 510 this.nodeFileName_.innerHTML = this.fileName_; | 510 this.nodeFileName_.innerHTML = this.fileName_; |
| 511 } | 511 } |
| 512 | 512 |
| 513 showInline(this.nodeFileLink_, this.state_ == Download.States.COMPLETE); | 513 showInline(this.nodeFileLink_, this.state_ == Download.States.COMPLETE); |
| 514 showInline(this.nodeFileName_, this.state_ != Download.States.COMPLETE); | 514 showInline(this.nodeFileName_, this.state_ != Download.States.COMPLETE); |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 <span id="danger_save" jscontent="danger_save">Save</span> | 746 <span id="danger_save" jscontent="danger_save">Save</span> |
| 747 <span id="danger_discard" jscontent="danger_discard">Discard</span> | 747 <span id="danger_discard" jscontent="danger_discard">Discard</span> |
| 748 | 748 |
| 749 <span id="control_pause" jscontent="control_pause">Pause</span> | 749 <span id="control_pause" jscontent="control_pause">Pause</span> |
| 750 <span id="control_showinfolder" jscontent="control_showinfolder">Show in folde
r</span> | 750 <span id="control_showinfolder" jscontent="control_showinfolder">Show in folde
r</span> |
| 751 <span id="control_cancel" jscontent="control_cancel">Cancel</span> | 751 <span id="control_cancel" jscontent="control_cancel">Cancel</span> |
| 752 <span id="control_resume" jscontent="control_resume">Resume</span> | 752 <span id="control_resume" jscontent="control_resume">Resume</span> |
| 753 </div> | 753 </div> |
| 754 </body> | 754 </body> |
| 755 </html> | 755 </html> |
| OLD | NEW |