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

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

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
« no previous file with comments | « chrome/browser/resources/md_downloads/item.css ('k') | chrome/browser/resources/md_downloads/item.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ffe95f5b82df26a87263d1d75ab237b4c387fa06..91fbd4fd11e3b061b5f3691007b6123bc0a2edf7 100644
--- a/chrome/browser/resources/md_downloads/item.html
+++ b/chrome/browser/resources/md_downloads/item.html
@@ -4,11 +4,26 @@
<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-behaviors/paper-inky-focus-behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-progress.html">
<link rel="import" href="chrome://downloads/action_service.html">
<link rel="import" href="chrome://downloads/constants.html">
+<dom-module id="inky-text-button">
+ <template><content></content></template>
+ <style>
+ :host {
+ -webkit-user-select: none;
+ cursor: pointer;
+ display: inline-block;
+ outline: none;
+ position: relative;
+ text-align: center;
+ }
+ </style>
+</dom-module>
+
<dom-module id="downloads-item">
<template>
<template is="dom-if" if="[[!hideDate]]">
@@ -90,10 +105,9 @@
</div>
<div id="remove-wrapper" class="icon-wrapper">
- <paper-icon-button id="remove" icon="clear"
- i18n-values="title:controlRemoveFromList"
+ <inky-text-button id="remove" i18n-values="title:controlRemoveFromList"
style$="[[computeRemoveStyle_(isDangerous_, showCancel_)]]"
- on-tap="onRemoveTap_"></paper-icon-button>
+ on-tap="onRemoveTap_">&#x2715;</inky-text-button>
</div>
<div id="incognito" i18n-values="title:inIncognito"
« no previous file with comments | « chrome/browser/resources/md_downloads/item.css ('k') | chrome/browser/resources/md_downloads/item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698