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

Side by Side Diff: chrome/browser/resources/settings/on_startup_page/startup_urls_page.html

Issue 2949873003: MD Settings: add 'preserve-focus' flag to fix iron-list focus bugs. (Closed)
Patch Set: remove debug code Created 3 years, 6 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 2
3 <link rel="import" href="chrome://resources/html/action_link.html"> 3 <link rel="import" href="chrome://resources/html/action_link.html">
4 <link rel="import" href="chrome://resources/html/action_link_css.html"> 4 <link rel="import" href="chrome://resources/html/action_link_css.html">
5 <link rel="import" href="chrome://resources/html/assert.html"> 5 <link rel="import" href="chrome://resources/html/assert.html">
6 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> 6 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l">
9 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 9 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
10 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml"> 10 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml">
(...skipping 14 matching lines...) Expand all
25 #container iron-list > settings-startup-url-entry:not(:first-of-type) { 25 #container iron-list > settings-startup-url-entry:not(:first-of-type) {
26 border-top: var(--settings-separator-line); 26 border-top: var(--settings-separator-line);
27 } 27 }
28 28
29 #container settings-startup-url-entry { 29 #container settings-startup-url-entry {
30 cursor: default; 30 cursor: default;
31 } 31 }
32 </style> 32 </style>
33 <div id="outer" class="layout vertical flex vertical-list"> 33 <div id="outer" class="layout vertical flex vertical-list">
34 <div id="container" class="scroll-container" scrollable> 34 <div id="container" class="scroll-container" scrollable>
35 <iron-list items="[[startupPages_]]" scroll-target="container"> 35 <iron-list items="[[startupPages_]]" scroll-target="container"
36 preserve-focus>
36 <template> 37 <template>
37 <settings-startup-url-entry model="[[item]]" 38 <settings-startup-url-entry model="[[item]]"
38 tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]" 39 tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]"
39 last-focused="{{lastFocused_}}" 40 last-focused="{{lastFocused_}}"
40 editable="[[!prefs.session.startup_urls.controlledBy]]"> 41 editable="[[!prefs.session.startup_urls.controlledBy]]">
41 </settings-startup-url-entry> 42 </settings-startup-url-entry>
42 </template> 43 </template>
43 </iron-list> 44 </iron-list>
44 </div> 45 </div>
45 <template is="dom-if" if="[[!prefs.session.startup_urls.controlledBy]]" 46 <template is="dom-if" if="[[!prefs.session.startup_urls.controlledBy]]"
(...skipping 21 matching lines...) Expand all
67 </template> 68 </template>
68 </div> 69 </div>
69 <template is="dom-if" if="[[showStartupUrlDialog_]]" restamp> 70 <template is="dom-if" if="[[showStartupUrlDialog_]]" restamp>
70 <settings-startup-url-dialog model="[[startupUrlDialogModel_]]" 71 <settings-startup-url-dialog model="[[startupUrlDialogModel_]]"
71 on-close="destroyUrlDialog_"> 72 on-close="destroyUrlDialog_">
72 </settings-startup-url-dialog> 73 </settings-startup-url-dialog>
73 </template> 74 </template>
74 </template> 75 </template>
75 <script src="startup_urls_page.js"></script> 76 <script src="startup_urls_page.js"></script>
76 </dom-module> 77 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698