| Index: chrome/browser/resources/downloads/item_view.js
|
| diff --git a/chrome/browser/resources/downloads/item_view.js b/chrome/browser/resources/downloads/item_view.js
|
| index f91d3fb1c086a76d47583a83395de1d9ff3393e5..c371eb8bea5cc0063dcfca039ab0cd409c0c1b4f 100644
|
| --- a/chrome/browser/resources/downloads/item_view.js
|
| +++ b/chrome/browser/resources/downloads/item_view.js
|
| @@ -28,7 +28,7 @@ cr.define('downloads', function() {
|
| this.fileLink_ = this.queryRequired_('[is="action-link"].name');
|
| this.status_ = this.queryRequired_('.status');
|
| this.srcUrl_ = this.queryRequired_('.src-url');
|
| - this.show_ = this.queryRequired_('.show');
|
| + this.showInFolder_ = this.queryRequired_('.show-in-folder');
|
| this.retry_ = this.queryRequired_('.retry');
|
| this.pause_ = this.queryRequired_('.pause');
|
| this.resume_ = this.queryRequired_('.resume');
|
| @@ -49,7 +49,7 @@ cr.define('downloads', function() {
|
| // Event handlers (bound once on creation).
|
| this.safe_.ondragstart = this.onSafeDragstart_.bind(this);
|
| this.fileLink_.onclick = this.onFileLinkClick_.bind(this);
|
| - this.show_.onclick = this.onShowClick_.bind(this);
|
| + this.showInFolder_.onclick = this.onShowInFolderClick_.bind(this);
|
| this.pause_.onclick = this.onPauseClick_.bind(this);
|
| this.resume_.onclick = this.onResumeClick_.bind(this);
|
| this.safeRemove_.onclick = this.onSafeRemoveClick_.bind(this);
|
| @@ -176,7 +176,7 @@ cr.define('downloads', function() {
|
| this.ensureTextIs_(this.fileName_, data.file_name);
|
| this.fileName_.hidden = completelyOnDisk;
|
|
|
| - this.show_.hidden = !completelyOnDisk;
|
| + this.showInFolder_.hidden = !completelyOnDisk;
|
|
|
| this.retry_.href = data.url;
|
| this.retry_.hidden = !data.retry;
|
| @@ -346,8 +346,8 @@ cr.define('downloads', function() {
|
| },
|
|
|
| /** @private */
|
| - onShowClick_: function() {
|
| - chrome.send('show', [this.id_]);
|
| + onShowInFolderClick_: function() {
|
| + chrome.send('showInFolder', [this.id_]);
|
| },
|
|
|
| /** @private */
|
|
|