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

Side by Side Diff: chrome/browser/resources/settings/site_settings/site_list.html

Issue 2861933002: [MD settings] .settings-row to elide content exception URL (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « chrome/browser/resources/settings/settings_shared_css.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/html/assert.html"> 1 <link rel="import" href="chrome://resources/html/assert.html">
2 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> 2 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.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/cr_elements/cr_action_menu/cr_action _menu.html"> 4 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action _menu.html">
5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 5 <link rel="import" href="chrome://resources/cr_elements/icons.html">
6 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html"> 6 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html">
7 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 7 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
11 <link rel="import" href="../i18n_setup.html"> 10 <link rel="import" href="../i18n_setup.html">
12 <link rel="import" href="../icons.html"> 11 <link rel="import" href="../icons.html">
13 <link rel="import" href="../route.html"> 12 <link rel="import" href="../route.html">
14 <link rel="import" href="../settings_shared_css.html"> 13 <link rel="import" href="../settings_shared_css.html">
15 <link rel="import" href="add_site_dialog.html"> 14 <link rel="import" href="add_site_dialog.html">
16 <link rel="import" href="constants.html"> 15 <link rel="import" href="constants.html">
17 <link rel="import" href="edit_exception_dialog.html"> 16 <link rel="import" href="edit_exception_dialog.html">
18 <link rel="import" href="site_settings_behavior.html"> 17 <link rel="import" href="site_settings_behavior.html">
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 $i18n{siteSettingsActionReset} 57 $i18n{siteSettingsActionReset}
59 </button> 58 </button>
60 </dialog> 59 </dialog>
61 60
62 <div class="list-frame" hidden$="[[hasSites_(sites)]]"> 61 <div class="list-frame" hidden$="[[hasSites_(sites)]]">
63 <div class="list-item secondary">$i18n{noSitesAdded}</div> 62 <div class="list-item secondary">$i18n{noSitesAdded}</div>
64 </div> 63 </div>
65 <div class="list-frame menu-content vertical-list" id="listContainer"> 64 <div class="list-frame menu-content vertical-list" id="listContainer">
66 <template is="dom-repeat" items="[[sites]]"> 65 <template is="dom-repeat" items="[[sites]]">
67 <div class="list-item"> 66 <div class="list-item">
68 <div class="layout horizontal center flex" 67 <div class="settings-row"
69 actionable$="[[enableSiteSettings_]]" on-tap="onOriginTap_"> 68 actionable$="[[enableSiteSettings_]]" on-tap="onOriginTap_">
70 <div class="favicon-image" 69 <div class="favicon-image"
71 style$="[[computeSiteIcon(item.origin)]]"> 70 style$="[[computeSiteIcon(item.origin)]]">
72 </div> 71 </div>
73 <div class="middle no-min-width"> 72 <div class="middle no-min-width">
74 <div class="selectable text-elide">[[item.displayName]]</div> 73 <div class="selectable text-elide">[[item.displayName]]</div>
75 74
76 <!-- This div must not contain extra whitespace. --> 75 <!-- This div must not contain extra whitespace. -->
77 <div class="selectable secondary text-elide" 76 <div class="selectable secondary text-elide"
78 id="siteDescription">[[computeSiteDescription_(item)]]</div> 77 id="siteDescription">[[computeSiteDescription_(item)]]</div>
(...skipping 29 matching lines...) Expand all
108 </div> 107 </div>
109 </div> 108 </div>
110 <template is="dom-if" if="[[showEditExceptionDialog_]]" restamp> 109 <template is="dom-if" if="[[showEditExceptionDialog_]]" restamp>
111 <settings-edit-exception-dialog model="[[actionMenuSite_]]" 110 <settings-edit-exception-dialog model="[[actionMenuSite_]]"
112 on-close="onEditExceptionDialogClosed_"> 111 on-close="onEditExceptionDialogClosed_">
113 </settings-edit-exception-dialog> 112 </settings-edit-exception-dialog>
114 </template> 113 </template>
115 </template> 114 </template>
116 <script src="site_list.js"></script> 115 <script src="site_list.js"></script>
117 </dom-module> 116 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_shared_css.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698