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

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

Issue 2773233002: MD Settings: change settings-input to home-url-input due to reduced usage. (Closed)
Patch Set: updates based on comments Created 3 years, 8 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
(Empty)
1 <link rel="import" href="chrome://resources/html/assert.html">
2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .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">
6 <link rel="import" href="pref_control_behavior.html">
7
8 <dom-module id="settings-input">
9 <template>
10 <style>
11 :host {
12 -webkit-margin-start: 4px;
13 cursor: auto;
14 display: inline-block;
15 }
16 </style>
17 <div id="outerDiv" class="layout horizontal center">
18 <paper-input id="input" value="{{value}}" no-label-float label="[[label]]"
19 error-message="[[errorMessage]]" on-change="onChange_"
20 on-keydown="onKeydown_" disabled="[[isDisabled_(disabled, pref.*)]]"
21 stop-keyboard-event-propagation invalid="{{invalid}}"
22 tabindex$="[[getTabindex_(canTab)]]">
23 </paper-input>
24 <template is="dom-if" if="[[hasPrefPolicyIndicator(pref.*)]]">
25 <cr-policy-pref-indicator pref="[[pref]]" icon-aria-label="[[label]]">
26 </cr-policy-pref-indicator>
27 </template>
28 </div>
29 </template>
30 <script src="settings_input.js"></script>
31 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698