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

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: add comment for action_link_css 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/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/html/action_link.html">
3 <!-- "action_link_css.html" replaces "action_link.css" for MD pages. -->
4 <link rel="import" href="chrome://resources/html/action_link_css.html">
2 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> 5 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 6 <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"> 7 <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"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
6 <link rel="import" href="/route.html"> 9 <link rel="import" href="/route.html">
7 <link rel="import" href="/settings_shared_css.html"> 10 <link rel="import" href="/settings_shared_css.html">
8 <link rel="import" href="/site_settings/constants.html"> 11 <link rel="import" href="/site_settings/constants.html">
9 <link rel="import" href="/site_settings/site_details_permission.html"> 12 <link rel="import" href="/site_settings/site_details_permission.html">
10 <link rel="import" href="/site_settings/site_settings_behavior.html"> 13 <link rel="import" href="/site_settings/site_settings_behavior.html">
11 <link rel="import" href="/site_settings/website_usage_private_api.html"> 14 <link rel="import" href="/site_settings/website_usage_private_api.html">
12 15
13 <dom-module id="site-details"> 16 <dom-module id="site-details">
14 <template> 17 <template>
15 <style include="settings-shared"> 18 <style include="settings-shared action-link">
16 .favicon-image { 19 .favicon-image {
17 margin: 2px; 20 margin: 2px;
18 } 21 }
19 22
20 #storage { 23 #storage {
21 -webkit-padding-end: 0; 24 -webkit-padding-end: 0;
22 } 25 }
23 </style> 26 </style>
24 <!-- Confirm Delete dialog --> 27 <!-- Confirm Delete dialog -->
25 <dialog is="cr-dialog" id="confirmDeleteDialog"> 28 <dialog is="cr-dialog" id="confirmDeleteDialog">
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 category="{{ContentSettingsTypes.AUTOMATIC_DOWNLOADS}}" 104 category="{{ContentSettingsTypes.AUTOMATIC_DOWNLOADS}}"
102 icon="cr:file-download" id="automaticDownloads" 105 icon="cr:file-download" id="automaticDownloads"
103 label="$i18n{siteSettingsAutomaticDownloads}" site="[[site]]"> 106 label="$i18n{siteSettingsAutomaticDownloads}" site="[[site]]">
104 </site-details-permission> 107 </site-details-permission>
105 <site-details-permission 108 <site-details-permission
106 category="{{ContentSettingsTypes.UNSANDBOXED_PLUGINS}}" 109 category="{{ContentSettingsTypes.UNSANDBOXED_PLUGINS}}"
107 icon="cr:extension" id="unsandboxedPlugins" 110 icon="cr:extension" id="unsandboxedPlugins"
108 label="$i18n{siteSettingsUnsandboxedPlugins}" site="[[site]]"> 111 label="$i18n{siteSettingsUnsandboxedPlugins}" site="[[site]]">
109 </site-details-permission> 112 </site-details-permission>
110 113
111 <div on-tap="onClearAndReset_" raised class="list-item list-button"> 114 <div class="list-item">
112 $i18n{siteSettingsClearAndReset} 115 <a is="action-link" class="list-button" on-tap="onClearAndReset_" >
116 $i18n{siteSettingsClearAndReset}
117 </a>
113 </div> 118 </div>
114 </div> 119 </div>
115 <website-usage-private-api id="usageApi" 120 <website-usage-private-api id="usageApi"
116 website-data-usage="{{storedData_}}" 121 website-data-usage="{{storedData_}}"
117 website-storage-type="{{storageType_}}"> 122 website-storage-type="{{storageType_}}">
118 </website-usage-private-api> 123 </website-usage-private-api>
119 </template> 124 </template>
120 <script src="site_details.js"></script> 125 <script src="site_details.js"></script>
121 </dom-module> 126 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698