| 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..617002c4a2ea750a63b8bd4bed6ec8ae1f33ed3b 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;
|
| + }
|
| +
|
| + #removeSite {
|
| + -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="onRemoveAllSitesTap_"
|
| 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" id="removeSite"
|
| + on-tap="onRemoveSiteTap_">
|
| + <iron-icon icon="cr:delete"></iron-icon>
|
| + </button>
|
| + </div>
|
| </div>
|
| </template>
|
| </div>
|
|
|