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

Unified Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 2154033002: MD Downloads: fix focus issue on downloads page by combining pause/play (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge + re-vulcanize Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_downloads/vulcanized.html
diff --git a/chrome/browser/resources/md_downloads/vulcanized.html b/chrome/browser/resources/md_downloads/vulcanized.html
index 5c039585445759e7846e952e86f933206838fea5..a5e6af023b35352cb3842a63ee5a86d3b6b7f86b 100644
--- a/chrome/browser/resources/md_downloads/vulcanized.html
+++ b/chrome/browser/resources/md_downloads/vulcanized.html
@@ -1357,8 +1357,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
-webkit-margin-end: 12px; /* Only really affects #tag. */
}
-#resume,
-.is-active :-webkit-any(#name, #file-link, #pause, #show) {
+#pause-or-resume,
+.is-active :-webkit-any(#name, #file-link, #show) {
color: rgb(51, 103, 214);
}
@@ -1534,14 +1534,9 @@ paper-button {
$i18n{controlRetry}
</paper-button>
</template>
- <template is="dom-if" if="[[isInProgress_]]">
- <paper-button id="pause" on-tap="onPauseTap_">
- $i18n{controlPause}
- </paper-button>
- </template>
- <template is="dom-if" if="[[data.resume]]">
- <paper-button id="resume" on-tap="onResumeTap_">
- $i18n{controlResume}
+ <template is="dom-if" if="[[pauseOrResumeText_]]">
+ <paper-button id="pause-or-resume" on-tap="onPauseOrResumeTap_">
+ [[pauseOrResumeText_]]
</paper-button>
</template>
<template is="dom-if" if="[[showCancel_]]">

Powered by Google App Engine
This is Rietveld 408576698