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

Side by Side Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 2182853002: MD WebUI: rework how clearing search works (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick Created 4 years, 4 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 dir="$i18n{textdirection}" lang="$i18n{language}"><head><!- - 1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{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 2474 matching lines...) Expand 10 before | Expand all | Expand 10 after
2485 2485
2486 :host-context([dir='rtl']) #searchTerm paper-icon-button { 2486 :host-context([dir='rtl']) #searchTerm paper-icon-button {
2487 left: 0; 2487 left: 0;
2488 right: auto; 2488 right: auto;
2489 } 2489 }
2490 2490
2491 </style> 2491 </style>
2492 <paper-icon-button icon="cr:search" id="searchButton" disabled$="[[showingSe arch]]" title="[[label]]" on-click="toggleShowingSearch_"></paper-icon-button> 2492 <paper-icon-button icon="cr:search" id="searchButton" disabled$="[[showingSe arch]]" title="[[label]]" on-click="toggleShowingSearch_"></paper-icon-button>
2493 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" hidden$="[[!showingSearch]]" no-label-float=""> 2493 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" hidden$="[[!showingSearch]]" no-label-float="">
2494 <input is="iron-input" id="searchInput" type="search" placeholder="[[label ]]" incremental=""> 2494 <input is="iron-input" id="searchInput" type="search" placeholder="[[label ]]" incremental="">
2495 <paper-icon-button icon="cr:cancel" id="clearSearch" on-click="toggleShowi ngSearch_" title="[[clearLabel]]" hidden$="[[!showingSearch]]"></paper-icon-butt on> 2495 <paper-icon-button icon="cr:cancel" on-tap="clearSearch_" title="[[clearLa bel]]" hidden$="[[!showingSearch]]">
2496 </paper-icon-button>
2496 </paper-input-container> 2497 </paper-input-container>
2497 </template> 2498 </template>
2498 2499
2499 </dom-module> 2500 </dom-module>
2500 <dom-module id="downloads-toolbar" assetpath="chrome://downloads/"> 2501 <dom-module id="downloads-toolbar" assetpath="chrome://downloads/">
2501 <template><style> 2502 <template><style>
2502 /* Copyright 2015 The Chromium Authors. All rights reserved. 2503 /* Copyright 2015 The Chromium Authors. All rights reserved.
2503 * Use of this source code is governed by a BSD-style license that can be 2504 * Use of this source code is governed by a BSD-style license that can be
2504 * found in the LICENSE file. */ 2505 * found in the LICENSE file. */
2505 2506
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
2769 <command id="undo-command" shortcut="Meta|z"></command> 2770 <command id="undo-command" shortcut="Meta|z"></command>
2770 <command id="find-command" shortcut="Meta|f"></command> 2771 <command id="find-command" shortcut="Meta|f"></command>
2771 </if> 2772 </if>
2772 <if expr="not is_macosx"> 2773 <if expr="not is_macosx">
2773 <command id="clear-all-command" shortcut="Alt|c"></command> 2774 <command id="clear-all-command" shortcut="Alt|c"></command>
2774 <command id="undo-command" shortcut="Ctrl|z"></command> 2775 <command id="undo-command" shortcut="Ctrl|z"></command>
2775 <command id="find-command" shortcut="Ctrl|f"></command> 2776 <command id="find-command" shortcut="Ctrl|f"></command>
2776 </if> 2777 </if>
2777 <link rel="import" href="chrome://resources/html/polymer.html"> 2778 <link rel="import" href="chrome://resources/html/polymer.html">
2778 <script src="crisper.js"></script></body></html> 2779 <script src="crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698