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

Unified Diff: chrome/browser/resources/settings/search_settings.js

Issue 2774003002: MD Settings: Don't search inside <dialog> elements. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | chrome/test/data/webui/settings/search_settings_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/search_settings.js
diff --git a/chrome/browser/resources/settings/search_settings.js b/chrome/browser/resources/settings/search_settings.js
index 30e03de6daeb4ac55a816529e032b0979a42e3a4..ad541dd43c290f012d82080607789645da34f083 100644
--- a/chrome/browser/resources/settings/search_settings.js
+++ b/chrome/browser/resources/settings/search_settings.js
@@ -44,15 +44,11 @@ cr.define('settings', function() {
var IGNORED_ELEMENTS = new Set([
'CONTENT',
'CR-EVENTS',
+ 'DIALOG',
'IMG',
'IRON-ICON',
'IRON-LIST',
'PAPER-ICON-BUTTON',
- /* TODO(dpapad): paper-item is used for dynamically populated dropdown
- * menus. Perhaps a better approach is to mark the entire dropdown menu such
- * that search algorithm can skip it as a whole instead.
- */
- 'PAPER-ITEM',
tommycli 2017/03/24 19:07:19 I assume you've determined this is no longer neede
dpapad 2017/03/24 19:13:22 Yes no longer needed, because we removed all paper
'PAPER-RIPPLE',
'PAPER-SLIDER',
'PAPER-SPINNER',
« no previous file with comments | « no previous file | chrome/test/data/webui/settings/search_settings_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698