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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_section.js

Issue 2223083003: MD Settings: Skip hidden nodes when searching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_subpage_assertion
Patch Set: Change class to attribute. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/settings/settings_page/settings_section.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_page/settings_section.js
diff --git a/chrome/browser/resources/settings/settings_page/settings_section.js b/chrome/browser/resources/settings/settings_page/settings_section.js
index de1e420e77a046ad26ba4023bdd39dd556ff6d1e..426ee1301c0bd67341e3ec1abeb233c8cc7c842e 100644
--- a/chrome/browser/resources/settings/settings_page/settings_section.js
+++ b/chrome/browser/resources/settings/settings_page/settings_section.js
@@ -33,6 +33,16 @@ var SettingsSectionElement = Polymer({
/** Title for the section header. */
pageTitle: String,
+
+ /**
+ * A CSS attribute used for temporarily hiding a SETTINGS-SECTION for the
+ * purposes of searching.
+ */
+ hiddenBySearch: {
+ type: Boolean,
+ value: false,
+ reflectToAttribute: true,
+ },
},
/**
« no previous file with comments | « chrome/browser/resources/settings/settings_page/settings_section.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698