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

Side by Side Diff: chrome/browser/resources/settings/site_settings/site_details.html

Issue 2639373002: MD Settings: clean up text controls (links, buttons) (Closed)
Patch Set: move action_link specific stuff to resources/html/action_link_css.html Created 3 years, 10 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
OLDNEW
1 <link rel="import" href="chrome://resources/html/action_link.html">
2 <link rel="import" href="chrome://resources/html/action_link_css.html">
1 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> 4 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 5 <link rel="import" href="chrome://resources/cr_elements/icons.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
6 <link rel="import" href="/route.html"> 8 <link rel="import" href="/route.html">
7 <link rel="import" href="/settings_shared_css.html"> 9 <link rel="import" href="/settings_shared_css.html">
8 <link rel="import" href="/site_settings/constants.html"> 10 <link rel="import" href="/site_settings/constants.html">
9 <link rel="import" href="/site_settings/site_details_permission.html"> 11 <link rel="import" href="/site_settings/site_details_permission.html">
10 <link rel="import" href="/site_settings/site_settings_behavior.html"> 12 <link rel="import" href="/site_settings/site_settings_behavior.html">
11 <link rel="import" href="/site_settings/website_usage_private_api.html"> 13 <link rel="import" href="/site_settings/website_usage_private_api.html">
12 14
13 <dom-module id="site-details"> 15 <dom-module id="site-details">
14 <template> 16 <template>
15 <style include="settings-shared"> 17 <style include="settings-shared action-link">
16 .favicon-image { 18 .favicon-image {
17 margin: 2px; 19 margin: 2px;
18 } 20 }
19 21
20 #storage { 22 #storage {
21 -webkit-padding-end: 0; 23 -webkit-padding-end: 0;
22 } 24 }
23 </style> 25 </style>
24 <!-- Confirm Delete dialog --> 26 <!-- Confirm Delete dialog -->
25 <dialog is="cr-dialog" id="confirmDeleteDialog"> 27 <dialog is="cr-dialog" id="confirmDeleteDialog">
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 category="{{ContentSettingsTypes.AUTOMATIC_DOWNLOADS}}" 103 category="{{ContentSettingsTypes.AUTOMATIC_DOWNLOADS}}"
102 icon="cr:file-download" id="automaticDownloads" 104 icon="cr:file-download" id="automaticDownloads"
103 label="$i18n{siteSettingsAutomaticDownloads}" site="[[site]]"> 105 label="$i18n{siteSettingsAutomaticDownloads}" site="[[site]]">
104 </site-details-permission> 106 </site-details-permission>
105 <site-details-permission 107 <site-details-permission
106 category="{{ContentSettingsTypes.UNSANDBOXED_PLUGINS}}" 108 category="{{ContentSettingsTypes.UNSANDBOXED_PLUGINS}}"
107 icon="cr:extension" id="unsandboxedPlugins" 109 icon="cr:extension" id="unsandboxedPlugins"
108 label="$i18n{siteSettingsUnsandboxedPlugins}" site="[[site]]"> 110 label="$i18n{siteSettingsUnsandboxedPlugins}" site="[[site]]">
109 </site-details-permission> 111 </site-details-permission>
110 112
111 <div on-tap="onClearAndReset_" raised class="list-item list-button"> 113 <div raised class="list-item">
Dan Beam 2017/01/24 05:25:33 what does this raised do?
scottchen 2017/01/24 19:39:12 I'm guessing this div was originally a paper-butto
112 $i18n{siteSettingsClearAndReset} 114 <a is="action-link" class="list-button" on-tap="onClearAndReset_" >
115 $i18n{siteSettingsClearAndReset}
116 </a>
113 </div> 117 </div>
114 </div> 118 </div>
115 <website-usage-private-api id="usageApi" 119 <website-usage-private-api id="usageApi"
116 website-data-usage="{{storedData_}}" 120 website-data-usage="{{storedData_}}"
117 website-storage-type="{{storageType_}}"> 121 website-storage-type="{{storageType_}}">
118 </website-usage-private-api> 122 </website-usage-private-api>
119 </template> 123 </template>
120 <script src="site_details.js"></script> 124 <script src="site_details.js"></script>
121 </dom-module> 125 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698