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

Unified Diff: ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html

Issue 2571583004: MD WebUI: Delete cr-search-field, simplify CrSearchFieldBehavior (Closed)
Patch Set: Use focus_() Created 4 years 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
Index: ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html
diff --git a/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html b/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html
deleted file mode 100644
index 03cc4275968c40287cd2a02e8482e67779d441c5..0000000000000000000000000000000000000000
--- a/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_search_field_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/icons.html">
-<link rel="import" href="chrome://resources/html/assert.html">
-<link rel="import" href="chrome://resources/html/polymer.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input-container.html">
-
-<dom-module id="cr-search-field">
- <template>
- <paper-icon-button icon="cr:search" id="searchButton"
- disabled$="[[showingSearch]]" title="[[label]]"
- on-tap="toggleShowingSearch_"></paper-icon-button>
- <paper-input-container id="searchTerm" on-search="onSearchTermSearch"
- on-keydown="onSearchTermKeydown" hidden$="[[!showingSearch]]"
- no-label-float>
- <input is="iron-input" id="searchInput" type="search"
- bind-value="{{value_}}" placeholder="[[label]]" incremental>
- <template is="dom-if" if="[[value_]]">
- <paper-icon-button icon="cr:cancel" on-tap="clearSearch_"
- title="[[clearLabel]]" hidden$="[[!showingSearch]]">
- </paper-icon-button>
- </template>
- </paper-input-container>
- </template>
- <link rel="import" type="css" href="cr_search_field.css">
- <script src="cr_search_field.js"></script>
-</dom-module>

Powered by Google App Engine
This is Rietveld 408576698