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

Side by Side Diff: chrome/browser/resources/settings/on_startup_page/startup_url_dialog.html

Issue 2722873002: MD Settings: Autofocus first text input in various dialogs. (Closed)
Patch Set: More dialogs Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
5 <link rel="import" href="../i18n_setup.html"> 5 <link rel="import" href="../i18n_setup.html">
6 <link rel="import" href="startup_urls_page_browser_proxy.html"> 6 <link rel="import" href="startup_urls_page_browser_proxy.html">
7 7
8 <dom-module id="settings-startup-url-dialog"> 8 <dom-module id="settings-startup-url-dialog">
9 <template> 9 <template>
10 <style include="settings-shared"></style> 10 <style include="settings-shared"></style>
11 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"> 11 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}">
12 <div class="title">[[dialogTitle_]]</div> 12 <div class="title">[[dialogTitle_]]</div>
13 <div class="body"> 13 <div class="body">
14 <paper-input always-float-label id="url" label="$i18n{onStartupSiteUrl}" 14 <paper-input always-float-label id="url" label="$i18n{onStartupSiteUrl}"
15 value="{{url_}}" on-input="validate_" on-keypress="onKeypress_"> 15 value="{{url_}}" on-input="validate_" on-keypress="onKeypress_"
16 autofocus>
16 </paper-input> 17 </paper-input>
17 </div> 18 </div>
18 <div class="button-container"> 19 <div class="button-container">
19 <div class="action-buttons"> 20 <div class="action-buttons">
20 <paper-button class="cancel-button" on-tap="onCancelTap_" 21 <paper-button class="cancel-button" on-tap="onCancelTap_"
21 id="cancel">$i18n{cancel}</paper-button> 22 id="cancel">$i18n{cancel}</paper-button>
22 <paper-button id="actionButton" class="action-button" 23 <paper-button id="actionButton" class="action-button"
23 on-tap="onActionButtonTap_">[[actionButtonText_]]</paper-button> 24 on-tap="onActionButtonTap_">[[actionButtonText_]]</paper-button>
24 </div> 25 </div>
25 </div> 26 </div>
26 </dialog> 27 </dialog>
27 </template> 28 </template>
28 <script src="startup_url_dialog.js"></script> 29 <script src="startup_url_dialog.js"></script>
29 </dom-module> 30 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698