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

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

Issue 2840713002: MD Settings: Remove usage of deprecated iron-flex-layout.html. (Closed)
Patch Set: Use cr-hidden-style 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/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">
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> 4 <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"> 5 <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"> 6 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml">
8 <link rel="import" href="../controls/extension_controlled_indicator.html"> 7 <link rel="import" href="../controls/extension_controlled_indicator.html">
9 <link rel="import" href="../settings_shared_css.html"> 8 <link rel="import" href="../settings_shared_css.html">
10 <link rel="import" href="startup_url_dialog.html"> 9 <link rel="import" href="startup_url_dialog.html">
11 <link rel="import" href="startup_url_entry.html"> 10 <link rel="import" href="startup_url_entry.html">
12 <link rel="import" href="startup_urls_page_browser_proxy.html"> 11 <link rel="import" href="startup_urls_page_browser_proxy.html">
13 12
14 <dom-module id="settings-startup-urls-page"> 13 <dom-module id="settings-startup-urls-page">
15 <template> 14 <template>
16 <style include="settings-shared action-link"> 15 <style include="settings-shared action-link">
17 #outer { 16 #outer {
18 @apply(--settings-list-frame-padding); 17 @apply(--settings-list-frame-padding);
19 max-height: 395px; /** Enough height to show six entries. */ 18 max-height: 395px; /** Enough height to show six entries. */
20 } 19 }
21 20
22 #container iron-list > settings-startup-url-entry:not(:first-of-type) { 21 #container iron-list > settings-startup-url-entry:not(:first-of-type) {
23 border-top: var(--settings-separator-line); 22 border-top: var(--settings-separator-line);
24 } 23 }
25 24
26 #container settings-startup-url-entry { 25 #container settings-startup-url-entry {
27 cursor: default; 26 cursor: default;
28 } 27 }
29 </style> 28 </style>
30 <div id="outer" class="layout vertical flex vertical-list"> 29 <div id="outer" class="layout vertical flex vertical-list">
31 <div id="container" class="scroll-container flex" scrollable> 30 <div id="container" class="scroll-container" scrollable>
32 <iron-list items="[[startupPages_]]" scroll-target="container"> 31 <iron-list items="[[startupPages_]]" scroll-target="container">
33 <template> 32 <template>
34 <settings-startup-url-entry model="[[item]]" 33 <settings-startup-url-entry model="[[item]]"
35 tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]" 34 tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]"
36 last-focused="{{lastFocused_}}" 35 last-focused="{{lastFocused_}}"
37 editable="[[!prefs.session.startup_urls.controlledBy]]"> 36 editable="[[!prefs.session.startup_urls.controlledBy]]">
38 </settings-startup-url-entry> 37 </settings-startup-url-entry>
39 </template> 38 </template>
40 </iron-list> 39 </iron-list>
41 </div> 40 </div>
(...skipping 22 matching lines...) Expand all
64 </template> 63 </template>
65 </div> 64 </div>
66 <template is="dom-if" if="[[showStartupUrlDialog_]]" restamp> 65 <template is="dom-if" if="[[showStartupUrlDialog_]]" restamp>
67 <settings-startup-url-dialog model="[[startupUrlDialogModel_]]" 66 <settings-startup-url-dialog model="[[startupUrlDialogModel_]]"
68 on-close="destroyUrlDialog_"> 67 on-close="destroyUrlDialog_">
69 </settings-startup-url-dialog> 68 </settings-startup-url-dialog>
70 </template> 69 </template>
71 </template> 70 </template>
72 <script src="startup_urls_page.js"></script> 71 <script src="startup_urls_page.js"></script>
73 </dom-module> 72 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698