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

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

Issue 2749513004: MD Settings: adjust iron-list focus row behaviors. (Closed)
Patch Set: fix test Created 3 years, 9 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/html/action_link.html"> 2 <link rel="import" href="chrome://resources/html/action_link.html">
3 <link rel="import" href="chrome://resources/html/action_link_css.html"> 3 <link rel="import" href="chrome://resources/html/action_link_css.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/iron-list/iron-list.htm l"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l">
6 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 6 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
7 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml"> 7 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml">
8 <link rel="import" href="../controls/extension_controlled_indicator.html"> 8 <link rel="import" href="../controls/extension_controlled_indicator.html">
9 <link rel="import" href="../settings_shared_css.html"> 9 <link rel="import" href="../settings_shared_css.html">
10 <link rel="import" href="startup_url_dialog.html"> 10 <link rel="import" href="startup_url_dialog.html">
(...skipping 15 matching lines...) Expand all
26 #container settings-startup-url-entry:not([editable]) { 26 #container settings-startup-url-entry:not([editable]) {
27 background: none; 27 background: none;
28 cursor: default; 28 cursor: default;
29 } 29 }
30 </style> 30 </style>
31 <div id="outer" class="layout vertical flex vertical-list"> 31 <div id="outer" class="layout vertical flex vertical-list">
32 <div id="container" class="scroll-container flex" scrollable> 32 <div id="container" class="scroll-container flex" scrollable>
33 <iron-list items="[[startupPages_]]" scroll-target="container"> 33 <iron-list items="[[startupPages_]]" scroll-target="container">
34 <template> 34 <template>
35 <settings-startup-url-entry model="[[item]]" 35 <settings-startup-url-entry model="[[item]]"
36 tabindex$="[[tabIndex]]" 36 tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]"
37 last-focused="{{lastFocused_}}"
37 editable="[[!prefs.session.startup_urls.controlledBy]]"> 38 editable="[[!prefs.session.startup_urls.controlledBy]]">
38 </settings-startup-url-entry> 39 </settings-startup-url-entry>
39 </template> 40 </template>
40 </iron-list> 41 </iron-list>
41 </div> 42 </div>
42 <template is="dom-if" if="[[!prefs.session.startup_urls.controlledBy]]" 43 <template is="dom-if" if="[[!prefs.session.startup_urls.controlledBy]]"
43 restamp> 44 restamp>
44 <div class="list-item" id="addPage"> 45 <div class="list-item" id="addPage">
45 <a is="action-link" class="list-button" on-tap="onAddPageTap_"> 46 <a is="action-link" class="list-button" on-tap="onAddPageTap_">
46 $i18n{onStartupAddNewPage} 47 $i18n{onStartupAddNewPage}
(...skipping 17 matching lines...) Expand all
64 </template> 65 </template>
65 </div> 66 </div>
66 <template is="dom-if" if="[[showStartupUrlDialog_]]" restamp> 67 <template is="dom-if" if="[[showStartupUrlDialog_]]" restamp>
67 <settings-startup-url-dialog model="[[startupUrlDialogModel_]]" 68 <settings-startup-url-dialog model="[[startupUrlDialogModel_]]"
68 on-close="destroyUrlDialog_"> 69 on-close="destroyUrlDialog_">
69 </settings-startup-url-dialog> 70 </settings-startup-url-dialog>
70 </template> 71 </template>
71 </template> 72 </template>
72 <script src="startup_urls_page.js"></script> 73 <script src="startup_urls_page.js"></script>
73 </dom-module> 74 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698