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

Side by Side Diff: chrome/browser/resources/settings/appearance_page/appearance_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/html/i18n_behavior.html"> 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
2 <link rel="import" href="chrome://resources/html/md_select_css.html"> 2 <link rel="import" href="chrome://resources/html/md_select_css.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
8 <link rel="import" href="appearance_browser_proxy.html"> 8 <link rel="import" href="appearance_browser_proxy.html">
9 <link rel="import" href="../controls/controlled_radio_button.html"> 9 <link rel="import" href="../controls/controlled_radio_button.html">
10 <link rel="import" href="../controls/extension_controlled_indicator.html"> 10 <link rel="import" href="../controls/extension_controlled_indicator.html">
(...skipping 18 matching lines...) Expand all
29 #custom-input { 29 #custom-input {
30 margin-bottom: 1rem; 30 margin-bottom: 1rem;
31 } 31 }
32 32
33 #customHomePage { 33 #customHomePage {
34 --paper-input-container: { 34 --paper-input-container: {
35 width: 200px; 35 width: 200px;
36 }; 36 };
37 } 37 }
38 </style> 38 </style>
39 <settings-animated-pages id="pages" section="appearance"> 39 <settings-animated-pages id="pages" section="appearance"
40 focus-config="[[focusConfig_]]">
40 <neon-animatable route-path="default"> 41 <neon-animatable route-path="default">
41 <if expr="chromeos"> 42 <if expr="chromeos">
42 <div class="settings-box first two-line" id="wallpaperButton" 43 <div class="settings-box first two-line" id="wallpaperButton"
43 on-tap="openWallpaperManager_" actionable 44 on-tap="openWallpaperManager_" actionable
44 hidden="[[!pageVisibility.setWallpaper]]"> 45 hidden="[[!pageVisibility.setWallpaper]]">
45 <div class="start"> 46 <div class="start">
46 $i18n{setWallpaper} 47 $i18n{setWallpaper}
47 <div class="secondary" id="wallpaperSecondary"> 48 <div class="secondary" id="wallpaperSecondary">
48 $i18n{openWallpaperApp} 49 $i18n{openWallpaperApp}
49 </div> 50 </div>
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 associated-control="[[$$('#customize-fonts-subpage-trigger')]]" 194 associated-control="[[$$('#customize-fonts-subpage-trigger')]]"
194 page-title="$i18n{customizeFonts}"> 195 page-title="$i18n{customizeFonts}">
195 <settings-appearance-fonts-page prefs="{{prefs}}"> 196 <settings-appearance-fonts-page prefs="{{prefs}}">
196 </settings-appearance-fonts-page> 197 </settings-appearance-fonts-page>
197 </settings-subpage> 198 </settings-subpage>
198 </template> 199 </template>
199 </settings-animated-pages> 200 </settings-animated-pages>
200 </template> 201 </template>
201 <script src="appearance_page.js"></script> 202 <script src="appearance_page.js"></script>
202 </dom-module> 203 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698