Chromium Code Reviews| 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 d9387121bdeb414b5b54fed8410bddcd98251812..094e7b1b6e00ef79eba8247861cc7c49906d8b50 100644 |
| --- a/chrome/browser/resources/settings/site_settings/site_data.html |
| +++ b/chrome/browser/resources/settings/site_settings/site_data.html |
| @@ -2,6 +2,7 @@ |
| <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html"> |
| <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html"> |
| +<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html"> |
| <link rel="import" href="../settings_page/settings_subpage_search.html"> |
| <link rel="import" href="../settings_shared_css.html"> |
| @@ -11,10 +12,18 @@ |
| <dom-module id="site-data"> |
| <template> |
| <style include="settings-shared"> |
| - paper-button#removeButton { |
| + #removeAll { |
| -webkit-margin-start: auto; |
| } |
| + #removeSecondary { |
| + -webkit-padding-start: 0; |
| + } |
| + |
| + .remove-site { |
| + -webkit-margin-end: 0; |
| + } |
| + |
| .subtitle-row { |
| margin-top: 9px; /* With 15px in sub-items == 24px total margin. */ |
| } |
| @@ -28,10 +37,10 @@ |
| </settings-subpage-search> |
| </div> |
| <div class="settings-box continuation"> |
| - <paper-button class="secondary-button" id="removeButton" |
| - on-tap="onConfirmDeleteMultipleSites_" |
| + <paper-button class="secondary-button" id="removeAll" |
| + on-tap="onRemoveAllTap_" |
|
dschuyler
2017/02/13 20:14:35
Can we call this removeAllShown, removeShownSites,
Dan Beam
2017/02/14 04:14:03
Done.
|
| hidden$="[[!isRemoveButtonVisible_(sites, renderedItemCount)]]"> |
| - [[computeRemoveLabel_(filterString_)]] |
| + [[computeRemoveLabel_(filterString_)]] |
| </paper-button> |
| </div> |
| <div class="list-frame vertical-list"> |
| @@ -45,6 +54,12 @@ |
| <div class="secondary">[[item.localData]]</div> |
| </div> |
| <button class="subpage-arrow" is="paper-icon-button-light"></button> |
| + <div class="secondary-action" id="removeSecondary"> |
| + <button is="paper-icon-button-light" class="remove-site" |
| + on-tap="onRemoveSiteTap_"> |
| + <iron-icon icon="cr:delete"></iron-icon> |
| + </button> |
| + </div> |
| </div> |
| </template> |
| </div> |