removing the "@" search feature along with suggestion on omnibox popup.
Change-Id: I47ec1d2998011a39cc675da462ad9bdd91a6340f
Signed-off-by: Shubham Gupta <shubham.g5@samsung.com>
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
// When the user's input begins with '@', we want to prioritize providing
// suggestions for all active starter pack search engines.
+#if !defined(SAMSUNG_NEXT_BROWSER)
bool starts_with_starter_pack_symbol = base::StartsWith(
input.text(), u"@", base::CompareCase::INSENSITIVE_ASCII);
}
}
}
+#endif
#endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
}
// The built-in history keyword mode is disabled in incognito mode. Don't
// provide a keyword in that case.
+#if defined(SAMSUNG_NEXT_BROWSER)
+ if (template_url->starter_pack_id() == TemplateURLStarterPackData::kHistory ||
+ template_url->starter_pack_id() ==
+ TemplateURLStarterPackData::kBookmarks ||
+ template_url->starter_pack_id() == TemplateURLStarterPackData::kTabs) {
+ return std::u16string();
+ }
+#endif
if (client_->IsOffTheRecord() &&
template_url->starter_pack_id() == TemplateURLStarterPackData::kHistory) {
return std::u16string();