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

Side by Side 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 unified diff | 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 »
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/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="../settings_shared_css.html"> 2 <link rel="import" href="../settings_shared_css.html">
3 <link rel="import" href="constants.html"> 3 <link rel="import" href="constants.html">
4 <link rel="import" href="site_list.html"> 4 <link rel="import" href="site_list.html">
5 <link rel="import" href="site_settings_behavior.html"> 5 <link rel="import" href="site_settings_behavior.html">
6 6
7 <dom-module id="all-sites"> 7 <dom-module id="all-sites">
8 <template> 8 <template>
9 <style include="settings-shared"> 9 <style include="settings-shared">
10 :host { 10 :host {
11 display: block; 11 display: block;
12 } 12 }
13
14 .selectable {
15 -webkit-user-select: text;
16 }
13 </style> 17 </style>
14 <site-list id="siteList" all-sites category="all-sites"> 18 <div class="list-frame" hidden$="[[sites.length]]">
15 </site-list> 19 <div class="list-item secondary">$i18n{noSitesAdded}</div>
20 </div>
21 <div class="list-frame menu-content vertical-list" id="listContainer">
22 <template is="dom-repeat" items="[[sites]]">
23 <div class="list-item">
24 <div class="layout horizontal center flex" on-tap="onOriginTap_"
25 actionable>
26 <div class="favicon-image"
27 style$="[[computeSiteIcon(item.origin)]]">
28 </div>
29 <div class="middle no-min-width selectable text-elide"
30 id="displayName">
31 [[item.displayName]]
32 </div>
33 <button class="subpage-arrow" is="paper-icon-button-light"
34 aria-label$="[[item.displayName]]"
35 aria-describedby="displayName"></button>
36 </div>
37 </div>
38 </template>
39 </div>
16 </template> 40 </template>
17 <script src="all_sites.js"></script> 41 <script src="all_sites.js"></script>
18 </dom-module> 42 </dom-module>
OLDNEW
« 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