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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/html/action_link.html"> 1 <link rel="import" href="chrome://resources/html/action_link.html">
2 <link rel="import" href="chrome://resources/html/cr.html"> 2 <link rel="import" href="chrome://resources/html/cr.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html">
8 <link rel="import" href="chrome://downloads/action_service.html"> 8 <link rel="import" href="chrome://downloads/action_service.html">
9 <link rel="import" href="chrome://downloads/constants.html"> 9 <link rel="import" href="chrome://downloads/constants.html">
10 <link rel="import" href="chrome://downloads/i18n_setup.html"> 10 <link rel="import" href="chrome://downloads/i18n_setup.html">
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 </template> 46 </template>
47 47
48 <div id="safe" class="controls" hidden="[[isDangerous_]]"> 48 <div id="safe" class="controls" hidden="[[isDangerous_]]">
49 <a is="action-link" id="show" on-tap="onShowTap_" 49 <a is="action-link" id="show" on-tap="onShowTap_"
50 hidden="[[!completelyOnDisk_]]">$i18n{controlShowInFolder}</a> 50 hidden="[[!completelyOnDisk_]]">$i18n{controlShowInFolder}</a>
51 <template is="dom-if" if="[[data.retry]]"> 51 <template is="dom-if" if="[[data.retry]]">
52 <paper-button id="retry" on-tap="onRetryTap_"> 52 <paper-button id="retry" on-tap="onRetryTap_">
53 $i18n{controlRetry} 53 $i18n{controlRetry}
54 </paper-button> 54 </paper-button>
55 </template> 55 </template>
56 <template is="dom-if" if="[[isInProgress_]]"> 56 <template is="dom-if" if="[[pauseOrResumeText_]]">
57 <paper-button id="pause" on-tap="onPauseTap_"> 57 <paper-button id="pause-or-resume" on-tap="onPauseOrResumeTap_">
58 $i18n{controlPause} 58 [[pauseOrResumeText_]]
59 </paper-button>
60 </template>
61 <template is="dom-if" if="[[data.resume]]">
62 <paper-button id="resume" on-tap="onResumeTap_">
63 $i18n{controlResume}
64 </paper-button> 59 </paper-button>
65 </template> 60 </template>
66 <template is="dom-if" if="[[showCancel_]]"> 61 <template is="dom-if" if="[[showCancel_]]">
67 <paper-button id="cancel" on-tap="onCancelTap_"> 62 <paper-button id="cancel" on-tap="onCancelTap_">
68 $i18n{controlCancel} 63 $i18n{controlCancel}
69 </paper-button> 64 </paper-button>
70 </template> 65 </template>
71 <span id="controlled-by"><!-- Text populated dynamically. --></span> 66 <span id="controlled-by"><!-- Text populated dynamically. --></span>
72 </div> 67 </div>
73 68
(...skipping 28 matching lines...) Expand all
102 <div id="incognito" title="$i18n{inIncognito}" hidden="[[!data.otr]]"> 97 <div id="incognito" title="$i18n{inIncognito}" hidden="[[!data.otr]]">
103 </div> 98 </div>
104 </div> 99 </div>
105 100
106 </template> 101 </template>
107 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> 102 <link rel="import" type="css" href="chrome://resources/css/action_link.css">
108 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> 103 <link rel="import" type="css" href="chrome://downloads/shared_style.css">
109 <link rel="import" type="css" href="chrome://downloads/item.css"> 104 <link rel="import" type="css" href="chrome://downloads/item.css">
110 <script src="chrome://downloads/item.js"></script> 105 <script src="chrome://downloads/item.js"></script>
111 </dom-module> 106 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698