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

Unified Diff: chrome/browser/resources/settings/site_settings/category_setting_exceptions.html

Issue 2554403005: [MD settings] move extra options in category settings (Closed)
Patch Set: merge with master; review changes Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/site_settings/category_setting_exceptions.html
diff --git a/chrome/browser/resources/settings/site_settings/category_setting_exceptions.html b/chrome/browser/resources/settings/site_settings/category_setting_exceptions.html
new file mode 100644
index 0000000000000000000000000000000000000000..c7aad3409480be1bec07b82db93ed1b1301d1d0c
--- /dev/null
+++ b/chrome/browser/resources/settings/site_settings/category_setting_exceptions.html
@@ -0,0 +1,37 @@
+<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="/settings_shared_css.html">
+<link rel="import" href="/site_settings/constants.html">
+<link rel="import" href="/site_settings/site_list.html">
+
+<dom-module id="category-setting-exceptions">
+ <template>
+ <style include="settings-shared">
+ site-list {
+ border-bottom: 1px solid var(--paper-grey-300);
+ }
+
+ site-list:last-of-type {
+ border-bottom: none;
+ }
+ </style>
+ <site-list
+ category="[[category]]"
+ category-subtype="[[PermissionValues.BLOCK]]"
+ category-enabled="[[categoryEnabled]]"
+ category-header="$i18n{siteSettingsBlock}">
+ </site-list>
+ <site-list
+ category="[[category]]"
+ category-subtype="[[PermissionValues.SESSION_ONLY]]"
+ category-enabled="[[categoryEnabled]]"
+ category-header="$i18n{siteSettingsSessionOnly}">
+ </site-list>
+ <site-list
+ category="[[category]]"
+ category-subtype="[[PermissionValues.ALLOW]]"
+ category-enabled="[[categoryEnabled]]"
+ category-header="$i18n{siteSettingsAllow}">
+ </site-list>
+ </template>
+ <script src="category_setting_exceptions.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698