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

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

Issue 2805363002: MD Settings: Add mechanism to restore focus after subpage exiting. (Closed)
Patch Set: Address @dbeam comments. 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/neon-animation/neon-ani matable.html"> 4 <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/paper-button/paper-butt on.html"> 5 <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-icon-button/paper -icon-button-light.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
7 <link rel="import" href="../controls/extension_controlled_indicator.html"> 7 <link rel="import" href="../controls/extension_controlled_indicator.html">
8 <link rel="import" href="../controls/settings_toggle_button.html"> 8 <link rel="import" href="../controls/settings_toggle_button.html">
9 <link rel="import" href="../icons.html"> 9 <link rel="import" href="../icons.html">
10 <link rel="import" href="../i18n_setup.html"> 10 <link rel="import" href="../i18n_setup.html">
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 iron-icon { 28 iron-icon {
29 -webkit-padding-end: 16px; 29 -webkit-padding-end: 16px;
30 } 30 }
31 31
32 .indented { 32 .indented {
33 -webkit-margin-start: var(--settings-indent-width); 33 -webkit-margin-start: var(--settings-indent-width);
34 } 34 }
35 </style> 35 </style>
36 <settings-animated-pages id="pages" section="search"> 36 <settings-animated-pages id="pages" section="search"
37 focus-config="[[focusConfig_]]">
37 <neon-animatable route-path="default"> 38 <neon-animatable route-path="default">
38 <!-- Omnibox search engine --> 39 <!-- Omnibox search engine -->
39 <div class="settings-box first block"> 40 <div class="settings-box first block">
40 <div id="search-wrapper"> 41 <div id="search-wrapper">
41 <p class="start">$i18nRaw{searchExplanation}</p> 42 <p class="start">$i18nRaw{searchExplanation}</p>
42 <div> 43 <div>
43 <select class="md-select" on-change="onChange_" 44 <select class="md-select" on-change="onChange_"
44 disabled$="[[ 45 disabled$="[[
45 prefs.default_search_provider.enabled.extensionId]]"> 46 prefs.default_search_provider.enabled.extensionId]]">
46 <template is="dom-repeat" items="[[searchEngines_]]"> 47 <template is="dom-repeat" items="[[searchEngines_]]">
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 <settings-subpage 134 <settings-subpage
134 associated-control="[[$$('#subpage-trigger')]]" 135 associated-control="[[$$('#subpage-trigger')]]"
135 page-title="$i18n{searchEnginesManage}"> 136 page-title="$i18n{searchEnginesManage}">
136 <settings-search-engines-page></settings-search-engines-page> 137 <settings-search-engines-page></settings-search-engines-page>
137 </settings-subpage> 138 </settings-subpage>
138 </template> 139 </template>
139 </settings-animated-pages> 140 </settings-animated-pages>
140 </template> 141 </template>
141 <script src="search_page.js"></script> 142 <script src="search_page.js"></script>
142 </dom-module> 143 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698