Commit 885841ce authored by Daniel Classon's avatar Daniel Classon Committed by Commit Bot

[DateTimePage] Link "Time zone" search result to the setting

Link "Time Zone" search result in the case the setting appears on the
subpage as well as the main section page, making the setting
accessible for deep linking.

Bug: 1084154
Change-Id: I68ec9fabbce8cf25b25779b2f694efa5965e3db8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2382885
Commit-Queue: Daniel Classon <dclasson@google.com>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803192}
parent 071ec809
......@@ -50,12 +50,12 @@ const std::vector<SearchConcept>& GetDateTimeSearchConcepts() {
const std::vector<SearchConcept>& GetFineGrainedTimeZoneSearchConcepts() {
static const base::NoDestructor<std::vector<SearchConcept>> tags({
{IDS_OS_SETTINGS_TAG_DATE_TIME_ZONE_SUBPAGE,
{IDS_OS_SETTINGS_TAG_DATE_TIME_ZONE,
mojom::kTimeZoneSubpagePath,
mojom::SearchResultIcon::kClock,
mojom::SearchResultDefaultRank::kMedium,
mojom::SearchResultType::kSubpage,
{.subpage = mojom::Subpage::kTimeZone}},
mojom::SearchResultType::kSetting,
{.setting = mojom::Setting::kChangeTimeZone}},
});
return *tags;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment