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

Side by Side Diff: chrome/browser/resources/downloads.html

Issue 101026: Change chrome-ui to chrome. I didn't go too far in converting existing string... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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> 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
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
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>
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/renderer_security_policy_unittest.cc ('k') | chrome/browser/resources/history.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698