@ -1,4 +1,4 @@
From aa29bac82e9e521fa5cac9184a7b5d3a8d80b402 Mon Sep 17 00:00:00 2001
From 3561cffa415fecb09df3549578095eef6e07f64f Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Tue, 23 Apr 2024 14:43:39 +0300
Subject: [PATCH] Added Yandex search bar as default on newtab and new-tab-page
@ -25,7 +25,8 @@ Subject: [PATCH] Added Yandex search bar as default on newtab and new-tab-page
.../search_engine_countries-inc.cc | 9 +++++----
.../search_engines/template_url_data_util.cc | 6 +++++-
.../template_url_prepopulate_data.cc | 15 +++++++++------
21 files changed, 96 insertions(+), 36 deletions(-)
.../cr_components/omnibox/realbox.html | 7 +++++++
22 files changed, 103 insertions(+), 36 deletions(-)
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index ceabbced0f..ae958b0be4 100644
@ -579,6 +580,22 @@ index 35063c9dea..7f16c889f8 100644
return t_urls;
}
diff --git a/ui/webui/resources/cr_components/omnibox/realbox.html b/ui/webui/resources/cr_components/omnibox/realbox.html
index 59d048c127..cbe7fb682f 100644
--- a/ui/webui/resources/cr_components/omnibox/realbox.html
+++ b/ui/webui/resources/cr_components/omnibox/realbox.html
@@ -1,4 +1,11 @@
<style include="cr-icons">
+ #voiceSearchButton {
+ visibility: hidden;
+ }
+ #lensSearchButton {
+ visibility: visible;
+ }
+
:host {
--cr-realbox-height: 44px;
--cr-realbox-min-width: var(--ntp-search-box-width);
--
2.44.0