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

Side by Side Diff: chrome/browser/resources/md_downloads/vulcanized.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: merge 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html><html i18n-values="dir:textdirection;lang:language"><head><!-- 1 <!DOCTYPE html><html i18n-values="dir:textdirection;lang:language"><head><!--
2 @license 2 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><!-- 9 --><!--
10 @license 10 @license
(...skipping 2470 matching lines...) Expand 10 before | Expand all | Expand 10 after
2481 2481
2482 <template is="dom-if" if="[[isMalware_]]"> 2482 <template is="dom-if" if="[[isMalware_]]">
2483 <paper-button id="danger-remove" on-tap="onDiscardDangerousTap_" c lass="discard">[[i18n_.remove]]</paper-button> 2483 <paper-button id="danger-remove" on-tap="onDiscardDangerousTap_" c lass="discard">[[i18n_.remove]]</paper-button>
2484 <paper-button id="restore" on-tap="onSaveDangerousTap_" class="kee p">[[i18n_.restore]</paper-button> 2484 <paper-button id="restore" on-tap="onSaveDangerousTap_" class="kee p">[[i18n_.restore]</paper-button>
2485 </template> 2485 </template>
2486 </div> 2486 </div>
2487 </template> 2487 </template>
2488 </div> 2488 </div>
2489 2489
2490 <div id="remove-wrapper" class="icon-wrapper"> 2490 <div id="remove-wrapper" class="icon-wrapper">
2491 <paper-icon-button id="remove" icon="clear" i18n-values="title:controlRe moveFromList" style$="[[computeRemoveStyle_(isDangerous_, showCancel_)]]" on-tap ="onRemoveTap_"></paper-icon-button> 2491 <div id="remove" tabindex="0" i18n-values="title:controlRemoveFromList" style$="[[computeRemoveStyle_(isDangerous_, showCancel_)]]" on-focus="activateRi pple_" on-blur="deactivateRipple_" on-tap="onRemoveTap_"></div>
2492 </div> 2492 </div>
2493 2493
2494 <div id="incognito" i18n-values="title:inIncognito" hidden="[[!data.otr]]" ></div> 2494 <div id="incognito" i18n-values="title:inIncognito" hidden="[[!data.otr]]" ></div>
2495 </div> 2495 </div>
2496 2496
2497 </template> 2497 </template>
2498 <style> 2498 <style>
2499 /* Copyright 2015 The Chromium Authors. All rights reserved. 2499 /* Copyright 2015 The Chromium Authors. All rights reserved.
2500 * Use of this source code is governed by a BSD-style license that can be 2500 * Use of this source code is governed by a BSD-style license that can be
2501 * found in the LICENSE file. */ 2501 * found in the LICENSE file. */
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
2725 .is-active #controlled-by a { 2725 .is-active #controlled-by a {
2726 color: rgb(51, 103, 214); 2726 color: rgb(51, 103, 214);
2727 } 2727 }
2728 2728
2729 #remove-wrapper { 2729 #remove-wrapper {
2730 align-self: flex-start; 2730 align-self: flex-start;
2731 margin: 0; 2731 margin: 0;
2732 } 2732 }
2733 2733
2734 #remove { 2734 #remove {
2735 --iron-icon-height: 16px; 2735 -webkit-user-select: none;
2736 --iron-icon-width: 16px;
2737 --layout-inline: {
2738 /* HACK(dbeam): we probably shouldn't be overriding Polymer like this. */
2739 };
2740 color: #969696; 2736 color: #969696;
2737 cursor: pointer;
2738 font-size: 16px;
2741 height: 16px; 2739 height: 16px;
2740 line-height: 16px;
2741 outline: none;
2742 padding: 8px; 2742 padding: 8px;
2743 position: relative;
2744 text-align: center;
2743 width: 16px; 2745 width: 16px;
2744 } 2746 }
2745 2747
2746 #incognito { 2748 #incognito {
2747 bottom: 20px; 2749 bottom: 20px;
2748 content: -webkit-image-set( 2750 content: -webkit-image-set(
2749 url("chrome://downloads/1x/incognito_marker.png") 1x, 2751 url("chrome://downloads/1x/incognito_marker.png") 1x,
2750 url("chrome://downloads/2x/incognito_marker.png") 2x); 2752 url("chrome://downloads/2x/incognito_marker.png") 2x);
2751 position: absolute; 2753 position: absolute;
2752 right: 10px; 2754 right: 10px;
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
3526 </div> 3528 </div>
3527 <downloads-manager></downloads-manager> 3529 <downloads-manager></downloads-manager>
3528 <command id="clear-all-command" shortcut="Alt-U+0043"></command> 3530 <command id="clear-all-command" shortcut="Alt-U+0043"></command>
3529 <if expr="is_macosx"> 3531 <if expr="is_macosx">
3530 <command id="undo-command" shortcut="Meta-U+005A"></command> 3532 <command id="undo-command" shortcut="Meta-U+005A"></command>
3531 </if> 3533 </if>
3532 <if expr="not is_macosx"> 3534 <if expr="not is_macosx">
3533 <command id="undo-command" shortcut="Ctrl-U+005A"></command> 3535 <command id="undo-command" shortcut="Ctrl-U+005A"></command>
3534 </if> 3536 </if>
3535 <script src="crisper.js"></script></body></html> 3537 <script src="crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698