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

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

Issue 2403623002: Skip over the URL input when the NTP is used for the Home Button. (Closed)
Patch Set: Created 4 years, 2 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/policy/cr_policy_pref_be havior.html"> 3 <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_in dicator.html"> 4 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html">
5 <link rel="import" href="/controls/pref_control_behavior.html"> 5 <link rel="import" href="/controls/pref_control_behavior.html">
6 6
7 <dom-module id="settings-input"> 7 <dom-module id="settings-input">
8 <template> 8 <template>
9 <style> 9 <style>
10 :host { 10 :host {
11 cursor: auto; 11 cursor: auto;
12 display: inline-block; 12 display: inline-block;
13 } 13 }
14 </style> 14 </style>
15 <div id="outerDiv" class="layout horizontal center"> 15 <div id="outerDiv" class="layout horizontal center">
16 <paper-input id="input" auto-validate value="{{value}}" 16 <paper-input id="input" auto-validate value="{{value}}"
17 error-message="[[errorMessage]]" label="[[label]]" 17 error-message="[[errorMessage]]" label="[[label]]"
18 no-label-float="[[noLabelFloat]]" pattern="[[pattern]]" 18 no-label-float="[[noLabelFloat]]" pattern="[[pattern]]"
19 readonly$="[[readonly]]" required="[[required]]" type="[[type]]" 19 readonly$="[[readonly]]" required="[[required]]" type="[[type]]"
20 on-blur="onBlur_" disabled="[[isDisabled_(disabled, pref)]]" 20 on-blur="onBlur_" disabled="[[isDisabled_(disabled, pref)]]"
21 stop-keyboard-event-propagation$="[[stopKeyboardEventPropagation]]"> 21 stop-keyboard-event-propagation$="[[stopKeyboardEventPropagation]]"
22 tabindex$=[[getTabindex_(canTab)]]>
Dan Beam 2016/10/12 06:39:39 put quotes around this I.e. tabindex="[[...]]"
22 </paper-input> 23 </paper-input>
23 <template is="dom-if" if="[[pref.policySource]]"> 24 <template is="dom-if" if="[[pref.policySource]]">
24 <cr-policy-pref-indicator pref="[[pref]]"></cr-policy-pref-indicator> 25 <cr-policy-pref-indicator pref="[[pref]]"></cr-policy-pref-indicator>
25 </template> 26 </template>
26 </div> 27 </div>
27 </template> 28 </template>
28 <script src="settings_input.js"></script> 29 <script src="settings_input.js"></script>
29 </dom-module> 30 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698