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

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

Issue 2217403002: MD Settings: Tune searching algorithm to skip certain subpages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflicts. 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
Index: chrome/browser/resources/settings/settings_page/settings_subpage.js
diff --git a/chrome/browser/resources/settings/settings_page/settings_subpage.js b/chrome/browser/resources/settings/settings_page/settings_subpage.js
index 37151824358587e3c14e6c64e74851b32346e8dc..abb43dc1421e2afd514d7675d6f5a6b20a606c36 100644
--- a/chrome/browser/resources/settings/settings_page/settings_subpage.js
+++ b/chrome/browser/resources/settings/settings_page/settings_subpage.js
@@ -30,21 +30,16 @@ Polymer({
value: '',
},
- /** @type {?HTMLElement} */
+ /**
+ * Indicates which element triggers this subpage. Used by the searching
+ * algorithm to show search bubbles. It is |null| for subpages that are
+ * skipped during searching.
+ * @type {?HTMLElement}
+ */
associatedControl: {
type: Object,
value: null,
},
-
- /**
- * Indicates whether an associated control (an element that triggers the
- * subpage) is not registered for this page. Used by the searching algorithm
- * to show search bubbles.
- */
- noAssociatedControl: {
- type: Boolean,
- value: false,
- },
},
/** @private */

Powered by Google App Engine
This is Rietveld 408576698