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

Side by Side Diff: chrome/browser/resources/settings/people_page/people_page.html

Issue 2811693004: MD Settings: Restore focus after exiting various subpages. (Closed)
Patch Set: Address comments, fix test. 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
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/cr_elements/cr_expand_button/cr_expa nd_button.html"> 2 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa nd_button.html">
3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 3 <link rel="import" href="chrome://resources/cr_elements/icons.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/icon.html"> 5 <link rel="import" href="chrome://resources/html/icon.html">
6 <link rel="import" href="chrome://resources/html/polymer.html"> 6 <link rel="import" href="chrome://resources/html/polymer.html">
7 <link rel="import" href="chrome://resources/html/util.html"> 7 <link rel="import" href="chrome://resources/html/util.html">
8 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 8 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.html">
10 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 10 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 --settings-box-row-padding: 0; 88 --settings-box-row-padding: 0;
89 } 89 }
90 90
91 .delete-profile-warning { 91 .delete-profile-warning {
92 /* In order to line up with the checkbox text. */ 92 /* In order to line up with the checkbox text. */
93 -webkit-padding-start: 36px; 93 -webkit-padding-start: 36px;
94 padding-bottom: 10px; 94 padding-bottom: 10px;
95 padding-top: 10px; 95 padding-top: 10px;
96 } 96 }
97 </style> 97 </style>
98 <settings-animated-pages id="pages" section="people"> 98 <settings-animated-pages id="pages" section="people"
99 focus-config="[[focusConfig_]]">
99 <neon-animatable route-path="default"> 100 <neon-animatable route-path="default">
100 <div id="picture-subpage-trigger" class="settings-box first two-line"> 101 <div id="picture-subpage-trigger" class="settings-box first two-line">
101 <template is="dom-if" if="[[syncStatus]]"> 102 <template is="dom-if" if="[[syncStatus]]">
102 <div id="profile-icon" on-tap="onPictureTap_" actionable 103 <div id="profile-icon" on-tap="onPictureTap_" actionable
103 style="background-image: [[getIconImageset_(profileIconUrl_)]]"> 104 style="background-image: [[getIconImageset_(profileIconUrl_)]]">
104 </div> 105 </div>
105 <if expr="not chromeos"> 106 <if expr="not chromeos">
106 <div class="middle two-line no-min-width" 107 <div class="middle two-line no-min-width"
107 on-tap="onProfileNameTap_" actionable> 108 on-tap="onProfileNameTap_" actionable>
108 </if> 109 </if>
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 <template is="dom-if" if="[[quickUnlockEnabled_]]"> 207 <template is="dom-if" if="[[quickUnlockEnabled_]]">
207 <div class="settings-box two-line" actionable 208 <div class="settings-box two-line" actionable
208 on-tap="onConfigureLockTap_"> 209 on-tap="onConfigureLockTap_">
209 <div class="start"> 210 <div class="start">
210 $i18n{lockScreenTitle} 211 $i18n{lockScreenTitle}
211 <div class="secondary" id="lockScreenSecondary"> 212 <div class="secondary" id="lockScreenSecondary">
212 [[getPasswordState_(hasPin, 213 [[getPasswordState_(hasPin,
213 prefs.settings.enable_screen_lock.value)]] 214 prefs.settings.enable_screen_lock.value)]]
214 </div> 215 </div>
215 </div> 216 </div>
216 <button class="subpage-arrow" is="paper-icon-button-light" 217 <button id="lockScreenSubpageTrigger" class="subpage-arrow"
217 aria-label="$i18n{lockScreenTitle}" 218 is="paper-icon-button-light" aria-label="$i18n{lockScreenTitle}"
218 aria-describedby="lockScrenSecondary"></button> 219 aria-describedby="lockScrenSecondary"></button>
219 </div> 220 </div>
220 </template> 221 </template>
221 222
222 <template is="dom-if" if="[[easyUnlockAllowed_]]"> 223 <template is="dom-if" if="[[easyUnlockAllowed_]]">
223 <div id="easy-unlock" class="settings-box two-line"> 224 <div id="easy-unlock" class="settings-box two-line">
224 <div class="start"> 225 <div class="start">
225 <div>$i18n{easyUnlockSectionTitle}</div> 226 <div>$i18n{easyUnlockSectionTitle}</div>
226 <div class="secondary"> 227 <div class="secondary">
227 <template is="dom-if" if="[[!easyUnlockEnabled_]]"> 228 <template is="dom-if" if="[[!easyUnlockEnabled_]]">
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 <if expr="chromeos"> 399 <if expr="chromeos">
399 <template is="dom-if" if="[[showEasyUnlockTurnOffDialog_]]"> 400 <template is="dom-if" if="[[showEasyUnlockTurnOffDialog_]]">
400 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog" 401 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog"
401 on-close="onEasyUnlockTurnOffDialogClose_"> 402 on-close="onEasyUnlockTurnOffDialogClose_">
402 </easy-unlock-turn-off-dialog> 403 </easy-unlock-turn-off-dialog>
403 </template> 404 </template>
404 </if> 405 </if>
405 </template> 406 </template>
406 <script src="people_page.js"></script> 407 <script src="people_page.js"></script>
407 </dom-module> 408 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698