| OLD | NEW |
| 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="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 5 <link rel="import" href="/icons.html"> | 5 <link rel="import" href="/icons.html"> |
| 6 <link rel="import" href="/settings_shared_css.html"> | 6 <link rel="import" href="/settings_shared_css.html"> |
| 7 <link rel="import" href="/site_settings/constants.html"> | 7 <link rel="import" href="/site_settings/constants.html"> |
| 8 <link rel="import" href="/site_settings/site_details_permission.html"> | 8 <link rel="import" href="/site_settings/site_details_permission.html"> |
| 9 <link rel="import" href="/site_settings/site_settings_behavior.html"> | 9 <link rel="import" href="/site_settings/site_settings_behavior.html"> |
| 10 <link rel="import" href="/site_settings/website_usage_private_api.html"> | 10 <link rel="import" href="/site_settings/website_usage_private_api.html"> |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 .website-icon { | 37 .website-icon { |
| 38 background-repeat: no-repeat; | 38 background-repeat: no-repeat; |
| 39 background-size: contain; | 39 background-size: contain; |
| 40 height: 16px; | 40 height: 16px; |
| 41 width: 16px; | 41 width: 16px; |
| 42 } | 42 } |
| 43 </style> | 43 </style> |
| 44 <div class="settings-box block"> | 44 <div class="settings-box block"> |
| 45 <div class="horizontal layout origin-box"> | 45 <div class="horizontal layout origin-box"> |
| 46 <div class="website-icon" style$="[[computeSiteIcon(site)]]"></div> | 46 <div class="website-icon" |
| 47 style$="[[computeSiteIcon(site.originForDisplay)]]"></div> |
| 47 <div class="origin flex">[[site.originForDisplay]]</div> | 48 <div class="origin flex">[[site.originForDisplay]]</div> |
| 48 </div> | 49 </div> |
| 49 <h2 id="usage" hidden$="[[!storedData_]]">$i18n{siteSettingsUsage}</h2> | 50 <h2 id="usage" hidden$="[[!storedData_]]">$i18n{siteSettingsUsage}</h2> |
| 50 <paper-item id="storage" hidden$="[[!storedData_]]"> | 51 <paper-item id="storage" hidden$="[[!storedData_]]"> |
| 51 <div class="flex">[[storedData_]]</div> | 52 <div class="flex">[[storedData_]]</div> |
| 52 <paper-icon-button icon="settings:delete" | 53 <paper-icon-button icon="settings:delete" |
| 53 on-tap="onClearStorage_" | 54 on-tap="onClearStorage_" |
| 54 alt="$i18n{siteSettingsDelete}"></paper-icon-button> | 55 alt="$i18n{siteSettingsDelete}"></paper-icon-button> |
| 55 </paper-item> | 56 </paper-item> |
| 56 <h2>$i18n{siteSettingsPermissions}</h2> | 57 <h2>$i18n{siteSettingsPermissions}</h2> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 $i18n{siteSettingsClearAndReset} | 100 $i18n{siteSettingsClearAndReset} |
| 100 </paper-button> | 101 </paper-button> |
| 101 </div> | 102 </div> |
| 102 <website-usage-private-api id="usageApi" | 103 <website-usage-private-api id="usageApi" |
| 103 website-data-usage="{{storedData_}}" | 104 website-data-usage="{{storedData_}}" |
| 104 website-storage-type="{{storageType_}}"> | 105 website-storage-type="{{storageType_}}"> |
| 105 </website-usage-private-api> | 106 </website-usage-private-api> |
| 106 </template> | 107 </template> |
| 107 <script src="site_details.js"></script> | 108 <script src="site_details.js"></script> |
| 108 </dom-module> | 109 </dom-module> |
| OLD | NEW |