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

Unified Diff: chrome/browser/resources/settings/site_settings/all_sites.html

Issue 2846723002: [MD settings] separate all-sites from site-list (Closed)
Patch Set: review changes 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/all_sites.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/site_settings/all_sites.html
diff --git a/chrome/browser/resources/settings/site_settings/all_sites.html b/chrome/browser/resources/settings/site_settings/all_sites.html
index f048e8eac4802f2abfd8a9e46daa135e4bbabef6..d0486407084f012de8bb95ca6d2d78831e4b0da8 100644
--- a/chrome/browser/resources/settings/site_settings/all_sites.html
+++ b/chrome/browser/resources/settings/site_settings/all_sites.html
@@ -10,9 +10,33 @@
:host {
display: block;
}
+
+ .selectable {
+ -webkit-user-select: text;
+ }
</style>
- <site-list id="siteList" all-sites category="all-sites">
- </site-list>
+ <div class="list-frame" hidden$="[[sites.length]]">
+ <div class="list-item secondary">$i18n{noSitesAdded}</div>
+ </div>
+ <div class="list-frame menu-content vertical-list" id="listContainer">
+ <template is="dom-repeat" items="[[sites]]">
+ <div class="list-item">
+ <div class="layout horizontal center flex" on-tap="onOriginTap_"
+ actionable>
+ <div class="favicon-image"
+ style$="[[computeSiteIcon(item.origin)]]">
+ </div>
+ <div class="middle no-min-width selectable text-elide"
+ id="displayName">
+ [[item.displayName]]
+ </div>
+ <button class="subpage-arrow" is="paper-icon-button-light"
+ aria-label$="[[item.displayName]]"
+ aria-describedby="displayName"></button>
+ </div>
+ </div>
+ </template>
+ </div>
</template>
<script src="all_sites.js"></script>
</dom-module>
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/all_sites.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698