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

Unified Diff: chrome/browser/resources/settings/site_settings/site_settings_behavior.js

Issue 1477773003: Use dom-if to hide settings pages and show explicitly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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/site_settings_behavior.js
diff --git a/chrome/browser/resources/settings/site_settings/site_settings_behavior.js b/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
index 0066920b077de5503fd0ffc8d4fc6f5eb537ce5c..039e245d9560ce40945a41fe9d148238d6e89ba4 100644
--- a/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
+++ b/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
@@ -8,6 +8,15 @@
/** @polymerBehavior */
var SiteSettingsBehaviorImpl = {
+ properties: {
+ /**
+ * The ID of the category this element is displaying data for.
+ */
+ category: {
+ type: Number,
+ },
+ },
+
/**
* Returns whether the category default is set to enabled or not.
* @param {number} category The category to check.

Powered by Google App Engine
This is Rietveld 408576698