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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_animated_pages.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: Rename 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_animated_pages.js
diff --git a/chrome/browser/resources/settings/settings_page/settings_animated_pages.js b/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
index 682ead2dc14c8c474601fbe74938ce5aba6b00c1..428ed4435214840cf3b533525e5d95693a2ee442 100644
--- a/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
+++ b/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
@@ -147,6 +147,8 @@ Polymer({
.querySelector('settings-subpage');
if (!subpage.id)
subpage.id = id;
+ if (template.hasAttribute('no-search'))
+ subpage.setAttribute('no-search', '');
// Render synchronously so neon-animated-pages can select the subpage.
template.if = true;

Powered by Google App Engine
This is Rietveld 408576698