| OLD | NEW |
| (Empty) |
| 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | |
| 3 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_events/cr_events
.html"> | |
| 4 <link rel="import" href="chrome://md-settings/policy_controllable/policy_control
lable.html"> | |
| 5 <link rel="import" href="chrome://md-settings/pref_tracker/pref_tracker.html"> | |
| 6 | |
| 7 <dom-module id="cr-settings-input"> | |
| 8 <link rel="import" type="css" href="input.css"> | |
| 9 <template> | |
| 10 <cr-events id="events"></cr-events> | |
| 11 <cr-settings-pref-tracker pref="[[pref]]"></cr-settings-pref-tracker> | |
| 12 | |
| 13 <div id="outerDiv" class="layout horizontal center"> | |
| 14 <paper-input id="input" auto-validate value="{{value}}" | |
| 15 error-message="[[errorMessage]]" label="[[label]]" | |
| 16 no-label-float="[[noLabelFloat]]" pattern="[[pattern]]" | |
| 17 readonly$="[[readonly]]" required="[[required]]" type="[[type]]" | |
| 18 on-blur="onBlur_" disabled="[[isDisabled_(disabled, pref)]]"> | |
| 19 </paper-input> | |
| 20 <cr-policy-indicator pref="[[pref]]"></cr-policy-indicator> | |
| 21 </div> | |
| 22 </template> | |
| 23 <script src="input.js"></script> | |
| 24 </dom-module> | |
| OLD | NEW |