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

Unified Diff: chrome/browser/resources/md_downloads/item.js

Issue 1409473002: MD Downloads: replace <paper-icon-button> with <inky-text-button> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iron-list3
Patch Set: revert some hunks Created 5 years, 2 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.js
diff --git a/chrome/browser/resources/md_downloads/item.js b/chrome/browser/resources/md_downloads/item.js
index 3bce0bf934d4287bb201c33ec20d6721235660c3..e4fc85d806fceb91b92402732bba428a1ffbe5d2 100644
--- a/chrome/browser/resources/md_downloads/item.js
+++ b/chrome/browser/resources/md_downloads/item.js
@@ -3,6 +3,19 @@
// found in the LICENSE file.
cr.define('downloads', function() {
+ var InkyTextButton = Polymer({
+ is: 'inky-text-button',
+
+ behaviors: [
+ Polymer.PaperInkyFocusBehavior
+ ],
+
+ hostAttributes: {
+ role: 'button',
+ tabindex: 0,
+ },
+ });
+
var Item = Polymer({
is: 'downloads-item',
@@ -319,5 +332,8 @@ cr.define('downloads', function() {
},
});
- return {Item: Item};
+ return {
+ InkyTextButton: InkyTextButton,
+ Item: Item,
+ };
});
« no previous file with comments | « chrome/browser/resources/md_downloads/item.html ('k') | chrome/browser/resources/md_downloads/vulcanized.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698