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

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

Issue 2338283002: Site Settings Desktop: Implement Cookie Search. (Closed)
Patch Set: Address feedback Created 4 years, 3 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 | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/site_settings/site_data.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/site_data.html
diff --git a/chrome/browser/resources/settings/site_settings/site_data.html b/chrome/browser/resources/settings/site_settings/site_data.html
index bcd64c38cf876b8657bb872027aebe343cba1bd5..8bf54e54f10f54ae28e76a157ec85c9f64c75a30 100644
--- a/chrome/browser/resources/settings/site_settings/site_data.html
+++ b/chrome/browser/resources/settings/site_settings/site_data.html
@@ -1,7 +1,9 @@
<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="chrome://resources/cr_elements/icons.html">
dschuyler 2016/09/15 20:40:28 nit: is this still needed?
Finnur 2016/09/16 10:14:14 Nope, thanks!
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="/icons.html">
+<link rel="import" href="/settings_page/settings_subpage_search.html">
<link rel="import" href="/settings_shared_css.html">
<link rel="import" href="/site_settings/site_data_details_dialog.html">
<link rel="import" href="/site_settings/site_settings_behavior.html">
@@ -28,18 +30,25 @@
.site {
margin-top: 7px;
}
+
+ #filter {
+ margin-top: -4px;
+ }
</style>
<div class="layout horizontal">
<div class="flex site-header">$i18n{siteSettingsCookieHeader}</div>
<div class="secondary-action" hidden$="[[!removeAllIsVisible_(sites)]]">
- <paper-button on-tap="onDeleteAllSites_" class="secondary-button">
- $i18n{siteSettingsCookieRemoveAll}
+ <paper-button on-tap="onDeleteMultipleSites_" class="secondary-button">
+ [[computeRemoveLabel_(filterString_)]]
</paper-button>
</div>
+ <settings-subpage-search id="filter" on-search-changed="onSearchChanged_"
+ label="$i18n{siteSettingsCookieSearch}">
+ </settings-subpage-search>
</div>
<div class="list-frame vertical-list">
- <template is="dom-repeat" items="[[sites]]">
+ <template is="dom-repeat" id="list" items="[[sites]]" filter="showItem_">
<div class="list-item layout horizontal">
<div class="layout horizontal flex" on-tap="onSiteTap_" actionable>
<div class="favicon-image site"
@@ -48,10 +57,8 @@
<div class="flex middle">[[item.site]]</div>
<div class="site">[[item.localData]]</div>
</div>
- <div>
- <paper-icon-button on-tap="onDeleteSite_"
- icon="settings:delete"></paper-icon-button>
- </div>
+ <paper-icon-button on-tap="onDeleteSite_"
+ icon="settings:delete"></paper-icon-button>
</div>
</template>
</div>
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/site_settings/site_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698