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

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: tsergeant@ review 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 2469 matching lines...) Expand 10 before | Expand all | Expand 10 after
2480 top: -4px; 2480 top: -4px;
2481 z-index: 1; 2481 z-index: 1;
2482 } 2482 }
2483 2483
2484 :host-context([dir='rtl']) #searchTerm paper-icon-button { 2484 :host-context([dir='rtl']) #searchTerm paper-icon-button {
2485 left: 0; 2485 left: 0;
2486 right: auto; 2486 right: auto;
2487 } 2487 }
2488 2488
2489 </style> 2489 </style>
2490 <paper-icon-button icon="cr:search" id="searchButton" disabled$="[[showingSe arch]]" title="[[label]]" on-click="toggleShowingSearch_"></paper-icon-button> 2490 <paper-icon-button icon="cr:search" id="searchButton" disabled$="[[showingSe arch]]" title="[[label]]" on-tap="toggleShowingSearch_"></paper-icon-button>
2491 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" hidden$="[[!showingSearch]]" no-label-float=""> 2491 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" hidden$="[[!showingSearch]]" no-label-float="">
2492 <input is="iron-input" id="searchInput" type="search" placeholder="[[label ]]" incremental=""> 2492 <input is="iron-input" id="searchInput" type="search" bind-value="{{value_ }}" placeholder="[[label]]" incremental="">
2493 <paper-icon-button icon="cr:cancel" id="clearSearch" on-click="toggleShowi ngSearch_" title="[[clearLabel]]" hidden$="[[!showingSearch]]"></paper-icon-butt on> 2493 <template is="dom-if" if="[[value_]]">
2494 <paper-icon-button icon="cr:cancel" on-tap="clearSearch_" title="[[clear Label]]" hidden$="[[!showingSearch]]">
2495 </paper-icon-button>
2496 </template>
2494 </paper-input-container> 2497 </paper-input-container>
2495 </template> 2498 </template>
2496 2499
2497 </dom-module> 2500 </dom-module>
2498 <dom-module id="downloads-toolbar" assetpath="chrome://downloads/"> 2501 <dom-module id="downloads-toolbar" assetpath="chrome://downloads/">
2499 <template><style> 2502 <template><style>
2500 /* Copyright 2015 The Chromium Authors. All rights reserved. 2503 /* Copyright 2015 The Chromium Authors. All rights reserved.
2501 * 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
2502 * found in the LICENSE file. */ 2505 * found in the LICENSE file. */
2503 2506
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
2767 <command id="undo-command" shortcut="Meta|z"></command> 2770 <command id="undo-command" shortcut="Meta|z"></command>
2768 <command id="find-command" shortcut="Meta|f"></command> 2771 <command id="find-command" shortcut="Meta|f"></command>
2769 </if> 2772 </if>
2770 <if expr="not is_macosx"> 2773 <if expr="not is_macosx">
2771 <command id="clear-all-command" shortcut="Alt|c"></command> 2774 <command id="clear-all-command" shortcut="Alt|c"></command>
2772 <command id="undo-command" shortcut="Ctrl|z"></command> 2775 <command id="undo-command" shortcut="Ctrl|z"></command>
2773 <command id="find-command" shortcut="Ctrl|f"></command> 2776 <command id="find-command" shortcut="Ctrl|f"></command>
2774 </if> 2777 </if>
2775 <link rel="import" href="chrome://resources/html/polymer.html"> 2778 <link rel="import" href="chrome://resources/html/polymer.html">
2776 <script src="crisper.js"></script></body></html> 2779 <script src="crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/crisper.js ('k') | ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698