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

Unified Diff: chrome/browser/resources/md_downloads/item.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/item.html
diff --git a/chrome/browser/resources/md_downloads/item.html b/chrome/browser/resources/md_downloads/item.html
index cc8035f55cf66b5babd3313dbdff1f46d913e882..740c3e00b2569b2701c86a3ecbdb47d0b34c3f61 100644
--- a/chrome/browser/resources/md_downloads/item.html
+++ b/chrome/browser/resources/md_downloads/item.html
@@ -53,14 +53,9 @@
$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