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

Side by Side Diff: ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html

Issue 1406023003: Elim cr_elements/v1_0 subdirectory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
(Empty)
1 <link rel="import" href="chrome://resources/html/assert.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html">
7
8 <dom-module id="cr-search-field">
9 <template>
10 <paper-icon-button icon="search" id="search-button"
11 disabled$="[[showingSearch_]]" title="[[label]]"
12 on-click="toggleShowingSearch_"></paper-icon-button>
13 <template is="dom-if" if="[[showingSearch_]]" id="search-container">
14 <paper-input-container id="search-term" on-search="onSearchTermSearch_"
15 on-keydown="onSearchTermKeydown_" hidden$="[[!showingSearch_]]"
16 no-label-float>
17 <input is="iron-input" id="search-input" type="search"
18 placeholder="[[label]]" incremental>
19 <paper-icon-button icon="cancel" id="clear-search"
20 on-click="toggleShowingSearch_" title="[[clearLabel]]"
21 hidden$="[[!showingSearch_]]"></paper-icon-button>
22 </paper-input-container>
23 </template>
24 </template>
25 <link rel="import" type="css" href="cr_search_field.css">
26 <script src="cr_search_field.js"></script>
27 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698