| Index: chrome/browser/resources/md_downloads/item.html
|
| diff --git a/chrome/browser/resources/md_downloads/item.html b/chrome/browser/resources/md_downloads/item.html
|
| index c57c81bc31e601cbda47d2afca74e5f541886a29..b8e72d82648457bc8c467534afea12a81cde915f 100644
|
| --- a/chrome/browser/resources/md_downloads/item.html
|
| +++ b/chrome/browser/resources/md_downloads/item.html
|
| @@ -16,72 +16,70 @@
|
| <div id="date"></div>
|
| </div>
|
|
|
| - <div id="content-wrapper">
|
| - <paper-material id="content" on-dragstart="onDragStart_">
|
| - <div class="icon-wrapper">
|
| - <img class="icon" id="file-icon" alt="" hidden="[[isDangerous_]]">
|
| - <div class="icon" id="warning" hidden="[[!isDangerous_]]"></div>
|
| - </div>
|
| + <paper-material id="content" on-dragstart="onDragStart_">
|
| + <div class="icon-wrapper">
|
| + <img class="icon" id="file-icon" alt="" hidden="[[isDangerous_]]">
|
| + <div class="icon" id="warning" hidden="[[!isDangerous_]]"></div>
|
| + </div>
|
|
|
| - <div id="details">
|
| - <div id="title-area"><!-- Can't have any line breaks.
|
| - --><a is="action-link" id="file-link" focus-type="name"
|
| - on-click="onFileLinkClick_"></a><!-- Before #name.
|
| - --><span id="name"></span>
|
| - <span id="tag"></span>
|
| - </div>
|
| + <div id="details">
|
| + <div id="title-area"><!-- Can't have any line breaks.
|
| + --><a is="action-link" id="file-link" focus-type="name"
|
| + on-click="onFileLinkClick_"></a><!-- Before #name.
|
| + --><span id="name"></span>
|
| + <span id="tag"></span>
|
| + </div>
|
|
|
| - <a id="url" target="_blank" focus-type="url"></a>
|
| + <a id="url" target="_blank" focus-type="url"></a>
|
|
|
| - <div id="description"></div>
|
| + <div id="description"></div>
|
|
|
| - <paper-progress id="progress"></paper-progress>
|
| + <paper-progress id="progress"></paper-progress>
|
|
|
| - <div id="safe" class="controls" hidden$="[[isDangerous_]]">
|
| - <cr-button id="show" focus-type="show" on-click="onShowClick_"
|
| - i18n-content="controlShowInFolder"></cr-button>
|
| - <cr-button id="retry" focus-type="retry" on-click="onRetryClick_"
|
| - i18n-content="controlRetry"></cr-button>
|
| - <cr-button id="pause" focus-type="pause" on-click="onPauseClick_"
|
| - i18n-content="controlPause"></cr-button>
|
| - <cr-button id="resume" focus-type="resume"
|
| - on-click="onResumeClick_"
|
| - i18n-content="controlResume"></cr-button>
|
| - <cr-button id="cancel" focus-type="cancel"
|
| - on-click="onCancelClick_"
|
| - i18n-content="controlCancel"></cr-button>
|
| - <span id="controlled-by"
|
| - i18n-values=".innerHTML:controlByExtension"></span>
|
| - </div>
|
| + <div id="safe" class="controls" hidden$="[[isDangerous_]]">
|
| + <cr-button id="show" focus-type="show" on-click="onShowClick_"
|
| + i18n-content="controlShowInFolder"></cr-button>
|
| + <cr-button id="retry" focus-type="retry" on-click="onRetryClick_"
|
| + i18n-content="controlRetry"></cr-button>
|
| + <cr-button id="pause" focus-type="pause" on-click="onPauseClick_"
|
| + i18n-content="controlPause"></cr-button>
|
| + <cr-button id="resume" focus-type="resume"
|
| + on-click="onResumeClick_"
|
| + i18n-content="controlResume"></cr-button>
|
| + <cr-button id="cancel" focus-type="cancel"
|
| + on-click="onCancelClick_"
|
| + i18n-content="controlCancel"></cr-button>
|
| + <span id="controlled-by"
|
| + i18n-values=".innerHTML:controlByExtension"></span>
|
| + </div>
|
|
|
| - <div id="dangerous" class="controls" hidden$="[[!isDangerous_]]">
|
| - <!-- Dangerous file types (e.g. .exe, .jar). -->
|
| - <cr-button focus-type="save" i18n-content="dangerSave"
|
| - on-click="onSaveDangerous_"
|
| - hidden$="[[isMalware_]]"></cr-button>
|
| - <cr-button focus-type="discard" i18n-content="dangerDiscard"
|
| - on-click="onDiscardDangerous_"
|
| - hidden$="[[isMalware_]]"></cr-button>
|
| + <div id="dangerous" class="controls" hidden$="[[!isDangerous_]]">
|
| + <!-- Dangerous file types (e.g. .exe, .jar). -->
|
| + <cr-button focus-type="save" i18n-content="dangerSave"
|
| + on-click="onSaveDangerous_"
|
| + hidden$="[[isMalware_]]"></cr-button>
|
| + <cr-button focus-type="discard" i18n-content="dangerDiscard"
|
| + on-click="onDiscardDangerous_"
|
| + hidden$="[[isMalware_]]"></cr-button>
|
|
|
| - <!-- Things that safe browsing has determined to be dangerous. -->
|
| - <cr-button focus-type="save" i18n-content="dangerRestore"
|
| - on-click="onSaveDangerous_"
|
| - hidden$="[[!isMalware_]]"></cr-button>
|
| - <cr-button focus-type="discard"
|
| - i18n-content="controlRemoveFromList"
|
| - on-click="onDiscardDangerous_"
|
| - hidden$="[[!isMalware_]]"></cr-button>
|
| - </div>
|
| + <!-- Things that safe browsing has determined to be dangerous. -->
|
| + <cr-button focus-type="save" i18n-content="dangerRestore"
|
| + on-click="onSaveDangerous_"
|
| + hidden$="[[!isMalware_]]"></cr-button>
|
| + <cr-button focus-type="discard"
|
| + i18n-content="controlRemoveFromList"
|
| + on-click="onDiscardDangerous_"
|
| + hidden$="[[!isMalware_]]"></cr-button>
|
| </div>
|
| + </div>
|
|
|
| - <div id="remove-wrapper" class="icon-wrapper">
|
| - <paper-icon-button id="remove" focus-type="remove" icon="clear"
|
| - on-click="onRemoveClick_"></paper-icon-button>
|
| - </div>
|
| + <div id="remove-wrapper" class="icon-wrapper">
|
| + <paper-icon-button id="remove" focus-type="remove" icon="clear"
|
| + on-click="onRemoveClick_"></paper-icon-button>
|
| + </div>
|
|
|
| - <div id="incognito" hidden$="[[!isIncognito_]]"></div>
|
| - </paper-material>
|
| - </div>
|
| + <div id="incognito" hidden$="[[!isIncognito_]]"></div>
|
| + </paper-material>
|
|
|
| <div id="end-cap"></div>
|
|
|
|
|