| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h
tml"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h
tml"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
-container.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
-container.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner-lite.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner-lite.html"> |
| 6 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc
h_field_behavior.html"> | 6 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc
h_field_behavior.html"> |
| 7 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 7 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 8 | 8 |
| 9 <dom-module id="cr-toolbar-search-field"> | 9 <dom-module id="cr-toolbar-search-field"> |
| 10 <template> | 10 <template> |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 tabindex$="[[computeIconTabIndex_(narrow)]]"> | 120 tabindex$="[[computeIconTabIndex_(narrow)]]"> |
| 121 </paper-icon-button> | 121 </paper-icon-button> |
| 122 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" | 122 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" |
| 123 on-keydown="onSearchTermKeydown" no-label-float> | 123 on-keydown="onSearchTermKeydown" no-label-float> |
| 124 <label id="prompt" for="searchInput">[[label]]</label> | 124 <label id="prompt" for="searchInput">[[label]]</label> |
| 125 <input is="iron-input" id="searchInput" type="search" | 125 <input is="iron-input" id="searchInput" type="search" |
| 126 on-blur="onInputBlur_" incremental autofocus></input> | 126 on-blur="onInputBlur_" incremental autofocus></input> |
| 127 </paper-input-container> | 127 </paper-input-container> |
| 128 <template is="dom-if" if="[[hasSearchText_]]"> | 128 <template is="dom-if" if="[[hasSearchText_]]"> |
| 129 <paper-icon-button icon="cr:cancel" id="clearSearch" | 129 <paper-icon-button icon="cr:cancel" id="clearSearch" |
| 130 title="[[clearLabel]]" on-tap="hideSearch_"> | 130 title="[[clearLabel]]" on-tap="clearSearch_"> |
| 131 </paper-icon-button> | 131 </paper-icon-button> |
| 132 </template> | 132 </template> |
| 133 </template> | 133 </template> |
| 134 <script src="cr_toolbar_search_field.js"></script> | 134 <script src="cr_toolbar_search_field.js"></script> |
| 135 </dom-module> | 135 </dom-module> |
| OLD | NEW |