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

Issue 2217403002: MD Settings: Tune searching algorithm to skip certain subpages. (Closed)

Created:
4 years, 4 months ago by dpapad
Modified:
4 years, 4 months ago
Reviewers:
Dan Beam
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Tune searching algorithm to skip certain subpages. - Introducing a new CSS attribute 'skip-search' to mark elements that should be ignored. - Modifying searching algorithm, to skip such elements, both when searching but also when triggering a forced rendering. - Modify <settings-animated-pages> to carry over the 'skip-search' attribute from the <template is="dom-if"> to the <settings-subpage> stamped instance. - Remove settings-subpage's noAssociatedControl member variable since it is not necessary anymore. BUG=635017 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/3a94b6f16b9117a502adda26eddd53ef95832c27 Cr-Commit-Position: refs/heads/master@{#410432}

Patch Set 1 : Merge conflicts. #

Total comments: 5

Patch Set 2 : Rename #

Total comments: 6

Patch Set 3 : Address comments. #

Messages

Total messages: 28 (19 generated)
dpapad
4 years, 4 months ago (2016-08-06 01:13:51 UTC) #16
Dan Beam
can we name it no-search instead? skip-search might be ambiguous as to whether to continue ...
4 years, 4 months ago (2016-08-06 01:50:28 UTC) #17
dpapad
Renamed to no-search. https://codereview.chromium.org/2217403002/diff/60001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js File chrome/browser/resources/settings/settings_page/settings_animated_pages.js (right): https://codereview.chromium.org/2217403002/diff/60001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js#newcode150 chrome/browser/resources/settings/settings_page/settings_animated_pages.js:150: if (template.hasAttribute('skip-search')) { On 2016/08/06 at ...
4 years, 4 months ago (2016-08-08 17:27:01 UTC) #20
Dan Beam
https://codereview.chromium.org/2217403002/diff/60001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js File chrome/browser/resources/settings/settings_page/settings_animated_pages.js (right): https://codereview.chromium.org/2217403002/diff/60001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js#newcode150 chrome/browser/resources/settings/settings_page/settings_animated_pages.js:150: if (template.hasAttribute('skip-search')) { On 2016/08/08 17:27:01, dpapad wrote: > ...
4 years, 4 months ago (2016-08-08 17:42:56 UTC) #21
dpapad
https://codereview.chromium.org/2217403002/diff/60001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js File chrome/browser/resources/settings/settings_page/settings_animated_pages.js (right): https://codereview.chromium.org/2217403002/diff/60001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js#newcode150 chrome/browser/resources/settings/settings_page/settings_animated_pages.js:150: if (template.hasAttribute('skip-search')) { > > How about adding a ...
4 years, 4 months ago (2016-08-08 18:15:21 UTC) #22
Dan Beam
https://codereview.chromium.org/2217403002/diff/80001/chrome/browser/resources/settings/search_settings.js File chrome/browser/resources/settings/search_settings.js (right): https://codereview.chromium.org/2217403002/diff/80001/chrome/browser/resources/settings/search_settings.js#newcode132 chrome/browser/resources/settings/search_settings.js:132: (node.hasAttribute && node.hasAttribute(SKIP_SEARCH_CSS_ATTRIBUTE))) { On 2016/08/08 18:15:20, dpapad wrote: ...
4 years, 4 months ago (2016-08-08 18:50:47 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2217403002/100001
4 years, 4 months ago (2016-08-08 19:35:45 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 4 months ago (2016-08-08 20:24:39 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 20:28:49 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3a94b6f16b9117a502adda26eddd53ef95832c27
Cr-Commit-Position: refs/heads/master@{#410432}

Powered by Google App Engine
This is Rietveld 408576698