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

Side by Side Diff: chrome/browser/resources/settings/printing_page/printing_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/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.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="cloud_printers.html"> 4 <link rel="import" href="cloud_printers.html">
5 <link rel="import" href="../route.html"> 5 <link rel="import" href="../route.html">
6 <link rel="import" href="../settings_page/settings_animated_pages.html"> 6 <link rel="import" href="../settings_page/settings_animated_pages.html">
7 <link rel="import" href="../settings_page/settings_subpage.html"> 7 <link rel="import" href="../settings_page/settings_subpage.html">
8 <link rel="import" href="../settings_shared_css.html"> 8 <link rel="import" href="../settings_shared_css.html">
9 <if expr="chromeos"> 9 <if expr="chromeos">
10 <link rel="import" href="cups_printer_details_page.html"> 10 <link rel="import" href="cups_printer_details_page.html">
11 <link rel="import" href="cups_printers.html"> 11 <link rel="import" href="cups_printers.html">
12 </if> 12 </if>
13 13
14 <dom-module id="settings-printing-page"> 14 <dom-module id="settings-printing-page">
15 <template> 15 <template>
16 <style include="settings-shared"></style> 16 <style include="settings-shared"></style>
17 <settings-animated-pages id="pages" section="printing"> 17 <settings-animated-pages id="pages" section="printing"
18 focus-config="[[focusConfig_]]">
18 <array-selector id="arraySelector" items="{{cupsPrinters}}" 19 <array-selector id="arraySelector" items="{{cupsPrinters}}"
19 selected="{{detailPrinter_}}"> 20 selected="{{detailPrinter_}}">
20 </array-selector> 21 </array-selector>
21 <neon-animatable route-path="default"> 22 <neon-animatable route-path="default">
22 <if expr="chromeos"> 23 <if expr="chromeos">
23 <template is="dom-if" if="[[showCupsPrintingFeatures_]]"> 24 <template is="dom-if" if="[[showCupsPrintingFeatures_]]">
24 <div id="cupsPrinters" class="settings-box first" 25 <div id="cupsPrinters" class="settings-box first"
25 on-tap="onTapCupsPrinters_" actionable> 26 on-tap="onTapCupsPrinters_" actionable>
26 <div class="start">$i18n{cupsPrintersTitle}</div> 27 <div class="start">$i18n{cupsPrintersTitle}</div>
27 <button class="subpage-arrow" is="paper-icon-button-light" 28 <button class="subpage-arrow" is="paper-icon-button-light"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 associated-control="[[$$('#cloudPrinters')]]" 70 associated-control="[[$$('#cloudPrinters')]]"
70 page-title="$i18n{cloudPrintersTitle}"> 71 page-title="$i18n{cloudPrintersTitle}">
71 <settings-cloud-printers prefs="{{prefs}}"> 72 <settings-cloud-printers prefs="{{prefs}}">
72 </settings-cloud-printers> 73 </settings-cloud-printers>
73 </settings-subpage> 74 </settings-subpage>
74 </template> 75 </template>
75 </settings-animated-pages> 76 </settings-animated-pages>
76 </template> 77 </template>
77 <script src="printing_page.js"></script> 78 <script src="printing_page.js"></script>
78 </dom-module> 79 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698