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

Side by Side Diff: chrome/browser/resources/settings/controls/settings_input.html

Issue 2221073004: Replace deprecated iron-flex-layout/classes with iron-flex-layout-class in MD Settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo ^ Created 4 years, 4 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
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/paper-input/paper-input .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/cr_events/cr_events.html "> 3 <link rel="import" href="chrome://resources/cr_elements/cr_events/cr_events.html ">
4 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_be havior.html"> 4 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_be havior.html">
5 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html"> 5 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html">
6 <link rel="import" href="/controls/pref_control_behavior.html"> 6 <link rel="import" href="/controls/pref_control_behavior.html">
7 7
8 <dom-module id="settings-input"> 8 <dom-module id="settings-input">
9 <link rel="import" type="css" href="chrome://resources/cr_elements/shared.css" > 9 <link rel="import" type="css" href="chrome://resources/cr_elements/shared.css" >
10 <template> 10 <template>
11 <style> 11 <style>
12 :host { 12 :host {
13 display: inline-block; 13 display: inline-block;
14 } 14 }
15
16 #outerDiv {
17 align-items: center;
18 display: flex;
19 }
15 </style> 20 </style>
16 <cr-events id="events"></cr-events> 21 <cr-events id="events"></cr-events>
17 22
18 <div id="outerDiv" class="layout horizontal center"> 23 <div id="outerDiv">
19 <paper-input id="input" auto-validate value="{{value}}" 24 <paper-input id="input" auto-validate value="{{value}}"
20 error-message="[[errorMessage]]" label="[[label]]" 25 error-message="[[errorMessage]]" label="[[label]]"
21 no-label-float="[[noLabelFloat]]" pattern="[[pattern]]" 26 no-label-float="[[noLabelFloat]]" pattern="[[pattern]]"
22 readonly$="[[readonly]]" required="[[required]]" type="[[type]]" 27 readonly$="[[readonly]]" required="[[required]]" type="[[type]]"
23 on-blur="onBlur_" disabled="[[isDisabled_(disabled, pref)]]" 28 on-blur="onBlur_" disabled="[[isDisabled_(disabled, pref)]]"
24 stop-keyboard-event-propagation$="[[stopKeyboardEventPropagation]]"> 29 stop-keyboard-event-propagation$="[[stopKeyboardEventPropagation]]">
25 </paper-input> 30 </paper-input>
26 <template is="dom-if" if="[[pref.policySource]]"> 31 <template is="dom-if" if="[[pref.policySource]]">
27 <cr-policy-pref-indicator pref="[[pref]]"></cr-policy-pref-indicator> 32 <cr-policy-pref-indicator pref="[[pref]]"></cr-policy-pref-indicator>
28 </template> 33 </template>
29 </div> 34 </div>
30 </template> 35 </template>
31 <script src="settings_input.js"></script> 36 <script src="settings_input.js"></script>
32 </dom-module> 37 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698