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

Side by Side Diff: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html

Issue 2789783002: MD Settings: Restore focus after closing dialogs, for passwords page. (Closed)
Patch Set: fix compilation 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js » ('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_action_menu/cr_action _menu.html"> 1 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action _menu.html">
2 <link rel="import" href="chrome://resources/html/action_link.html"> 2 <link rel="import" href="chrome://resources/html/action_link.html">
3 <link rel="import" href="chrome://resources/html/action_link_css.html"> 3 <link rel="import" href="chrome://resources/html/action_link_css.html">
4 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 4 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
5 <link rel="import" href="chrome://resources/html/polymer.html"> 5 <link rel="import" href="chrome://resources/html/polymer.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
7 <link rel="import" href="../i18n_setup.html"> 7 <link rel="import" href="../i18n_setup.html">
8 <link rel="import" href="../settings_shared_css.html"> 8 <link rel="import" href="../settings_shared_css.html">
9 <link rel="import" href="../controls/extension_controlled_indicator.html"> 9 <link rel="import" href="../controls/extension_controlled_indicator.html">
10 <link rel="import" href="../controls/settings_toggle_button.html"> 10 <link rel="import" href="../controls/settings_toggle_button.html">
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 id="autofillExtensionIndicator" 68 id="autofillExtensionIndicator"
69 extension-id="[[prefs.autofill.enabled.extensionId]]" 69 extension-id="[[prefs.autofill.enabled.extensionId]]"
70 extension-name="[[prefs.autofill.enabled.controlledByName]]" 70 extension-name="[[prefs.autofill.enabled.controlledByName]]"
71 extension-can-be-disabled="[[ 71 extension-can-be-disabled="[[
72 prefs.autofill.enabled.extensionCanBeDisabled]]"> 72 prefs.autofill.enabled.extensionCanBeDisabled]]">
73 </extension-controlled-indicator> 73 </extension-controlled-indicator>
74 </div> 74 </div>
75 </template> 75 </template>
76 <div class="settings-box continuation"> 76 <div class="settings-box continuation">
77 <h2 class="start">$i18n{addresses}</h2> 77 <h2 class="start">$i18n{addresses}</h2>
78 <paper-button class="secondary-button header-aligned-button" 78 <paper-button id="addAddress"
79 class="secondary-button header-aligned-button"
79 on-tap="onAddAddressTap_"> 80 on-tap="onAddAddressTap_">
80 $i18n{add} 81 $i18n{add}
81 </paper-button> 82 </paper-button>
82 </div> 83 </div>
83 <div class="list-frame"> 84 <div class="list-frame">
84 <div id="addressList" class="vertical-list"> 85 <div id="addressList" class="vertical-list">
85 <template is="dom-repeat" items="[[addresses]]"> 86 <template is="dom-repeat" items="[[addresses]]">
86 <div class="list-item two-line"> 87 <div class="list-item two-line">
87 <div class="start"> 88 <div class="start">
88 <span id="addressSummary"> 89 <span id="addressSummary">
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 <button id="menuRemoveAddress" class="dropdown-item" 121 <button id="menuRemoveAddress" class="dropdown-item"
121 on-tap="onMenuRemoveAddressTap_">$i18n{removeAddress}</button> 122 on-tap="onMenuRemoveAddressTap_">$i18n{removeAddress}</button>
122 </dialog> 123 </dialog>
123 <template is="dom-if" if="[[showAddressDialog_]]" restamp> 124 <template is="dom-if" if="[[showAddressDialog_]]" restamp>
124 <settings-address-edit-dialog address="[[activeAddress]]" 125 <settings-address-edit-dialog address="[[activeAddress]]"
125 on-close="onAddressDialogClosed_"> 126 on-close="onAddressDialogClosed_">
126 </settings-address-edit-dialog> 127 </settings-address-edit-dialog>
127 </template> 128 </template>
128 <div class="settings-box first"> 129 <div class="settings-box first">
129 <h2 class="start">$i18n{creditCards}</h2> 130 <h2 class="start">$i18n{creditCards}</h2>
130 <paper-button class="secondary-button header-aligned-button" 131 <paper-button id="addCreditCard"
132 class="secondary-button header-aligned-button"
131 on-tap="onAddCreditCardTap_"> 133 on-tap="onAddCreditCardTap_">
132 $i18n{add} 134 $i18n{add}
133 </paper-button> 135 </paper-button>
134 </div> 136 </div>
135 <div class="list-frame"> 137 <div class="list-frame">
136 <div id="creditCardsHeading" class="list-item column-header" 138 <div id="creditCardsHeading" class="list-item column-header"
137 hidden$="[[!hasSome_(creditCards)]]"> 139 hidden$="[[!hasSome_(creditCards)]]">
138 <div class="type-column">$i18n{creditCardType}</div> 140 <div class="type-column">$i18n{creditCardType}</div>
139 <div class="expiration-column">$i18n{creditCardExpiration}</div> 141 <div class="expiration-column">$i18n{creditCardExpiration}</div>
140 </div> 142 </div>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 </button> 187 </button>
186 </dialog> 188 </dialog>
187 <template is="dom-if" if="[[showCreditCardDialog_]]" restamp> 189 <template is="dom-if" if="[[showCreditCardDialog_]]" restamp>
188 <settings-credit-card-edit-dialog credit-card="[[activeCreditCard]]" 190 <settings-credit-card-edit-dialog credit-card="[[activeCreditCard]]"
189 on-close="onCreditCardDialogClosed_"> 191 on-close="onCreditCardDialogClosed_">
190 </settings-credit-card-edit-dialog> 192 </settings-credit-card-edit-dialog>
191 </template> 193 </template>
192 </template> 194 </template>
193 <script src="autofill_section.js"></script> 195 <script src="autofill_section.js"></script>
194 </dom-module> 196 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698