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

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

Issue 2793463002: MD Settings: Restore focus after closing various dialogs. (Closed)
Patch Set: Nits. 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_lazy_render/cr_lazy_r ender.html"> 1 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.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-icon-button/paper -icon-button-light.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
4 <link rel="import" href="../i18n_setup.html"> 4 <link rel="import" href="../i18n_setup.html">
5 <link rel="import" href="reset_profile_dialog.html"> 5 <link rel="import" href="reset_profile_dialog.html">
6 <link rel="import" href="../route.html"> 6 <link rel="import" href="../route.html">
7 <link rel="import" href="../settings_shared_css.html"> 7 <link rel="import" href="../settings_shared_css.html">
8 8
9 <if expr="chromeos"> 9 <if expr="chromeos">
10 <link rel="import" href="powerwash_dialog.html"> 10 <link rel="import" href="powerwash_dialog.html">
11 </if> 11 </if>
12 12
13 <dom-module id="settings-reset-page"> 13 <dom-module id="settings-reset-page">
14 <template> 14 <template>
15 <style include="settings-shared"></style> 15 <style include="settings-shared"></style>
16 <div class="settings-box first two-line" id="resetProfile" 16 <div class="settings-box first two-line" id="resetProfile"
17 on-tap="onShowResetProfileDialog_" actionable> 17 on-tap="onShowResetProfileDialog_" actionable>
18 <div class="start"> 18 <div class="start">
19 $i18n{resetPageTitle} 19 $i18n{resetPageTitle}
20 <div class="secondary" id="resetProfileSecondary"> 20 <div class="secondary" id="resetProfileSecondary">
21 $i18n{resetPageDescription} 21 $i18n{resetPageDescription}
22 </div> 22 </div>
23 </div> 23 </div>
24 <button class="subpage-arrow" is="paper-icon-button-light" 24 <button id="resetProfileArrow" is="paper-icon-button-light"
25 aria-label="$i18n{resetPageTitle}" 25 class="subpage-arrow" aria-label="$i18n{resetPageTitle}"
26 aria-describedby="resetProfileSecondary"></button> 26 aria-describedby="resetProfileSecondary"></button>
27 </div> 27 </div>
28 <template is="dom-if" if="[[showResetProfileDialog_]]" restamp> 28 <template is="dom-if" if="[[showResetProfileDialog_]]" restamp>
29 <settings-reset-profile-dialog on-close="onResetProfileDialogClose_"> 29 <settings-reset-profile-dialog on-close="onResetProfileDialogClose_">
30 </settings-reset-profile-dialog> 30 </settings-reset-profile-dialog>
31 </template> 31 </template>
32 <if expr="chromeos"> 32 <if expr="chromeos">
33 <div class="settings-box two-line" id="powerwash" actionable 33 <div class="settings-box two-line" id="powerwash" actionable
34 on-tap="onShowPowerwashDialog_" hidden="[[!allowPowerwash_]]"> 34 on-tap="onShowPowerwashDialog_" hidden="[[!allowPowerwash_]]">
35 <div class="start"> 35 <div class="start">
36 $i18n{powerwashTitle} 36 $i18n{powerwashTitle}
37 <div class="secondary" id="powerwashSecondary"> 37 <div class="secondary" id="powerwashSecondary">
38 $i18n{powerwashDescription} 38 $i18n{powerwashDescription}
39 </div> 39 </div>
40 </div> 40 </div>
41 <button class="subpage-arrow" is="paper-icon-button-light" 41 <button id="powerwashArrow" is="paper-icon-button-light"
42 aria-label="$i18n{powerwashTitle}" 42 class="subpage-arrow" aria-label="$i18n{powerwashTitle}"
43 aria-describedby="powerwashSecondary"></button> 43 aria-describedby="powerwashSecondary"></button>
44 </div> 44 </div>
45 <template is="dom-if" if="[[showPowerwashDialog_]]" restamp> 45 <template is="dom-if" if="[[showPowerwashDialog_]]" restamp>
46 <settings-powerwash-dialog on-close="onPowerwashDialogClose_"> 46 <settings-powerwash-dialog on-close="onPowerwashDialogClose_">
47 </settings-powerwash-dialog> 47 </settings-powerwash-dialog>
48 </template> 48 </template>
49 </if> 49 </if>
50 </template> 50 </template>
51 <script src="reset_page.js"></script> 51 <script src="reset_page.js"></script>
52 </dom-module> 52 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698