| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc
h_field_behavior.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc
h_field_behavior.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 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"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
-container.html"> |
| 7 | 7 |
| 8 <dom-module id="settings-subpage-search"> | 8 <dom-module id="settings-subpage-search"> |
| 9 <template> | 9 <template> |
| 10 <style> | 10 <style> |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 #clearSearch { | 82 #clearSearch { |
| 83 -webkit-margin-end: -4px; | 83 -webkit-margin-end: -4px; |
| 84 -webkit-margin-start: 4px; | 84 -webkit-margin-start: 4px; |
| 85 } | 85 } |
| 86 </style> | 86 </style> |
| 87 <iron-icon id="searchIcon" icon="cr:search"></iron-icon> | 87 <iron-icon id="searchIcon" icon="cr:search"></iron-icon> |
| 88 <paper-input-container no-label-float> | 88 <paper-input-container no-label-float> |
| 89 <label id="prompt">[[label]]</label> | 89 <label id="prompt">[[label]]</label> |
| 90 <input id="searchInput" type="search" on-search="onSearchTermSearch" | 90 <input id="searchInput" type="search" on-search="onSearchTermSearch" |
| 91 on-input="onSearchTermInput" aria-labelledby="prompt" incremental> | 91 on-input="onSearchTermInput" aria-labelledby="prompt" incremental |
| 92 </input> | 92 autofocus$="[[autofocus]]"> |
| 93 <paper-icon-button suffix icon="cr:cancel" id="clearSearch" | 93 <paper-icon-button suffix icon="cr:cancel" id="clearSearch" |
| 94 on-tap="onTapClear_" title="[[clearLabel]]" | 94 on-tap="onTapClear_" title="[[clearLabel]]" |
| 95 hidden$="[[!hasSearchText]]"> | 95 hidden$="[[!hasSearchText]]"> |
| 96 </paper-icon-button> | 96 </paper-icon-button> |
| 97 </paper-input-container> | 97 </paper-input-container> |
| 98 </template> | 98 </template> |
| 99 <script src="settings_subpage_search.js"></script> | 99 <script src="settings_subpage_search.js"></script> |
| 100 </dom-module> | 100 </dom-module> |
| OLD | NEW |