mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 09:32:47 +00:00
Remove not working voice search button
This commit is contained in:
parent
fb292ee189
commit
d57692f7aa
2 changed files with 33 additions and 3 deletions
29
0003-Remove-voice-search-button.patch
Normal file
29
0003-Remove-voice-search-button.patch
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
From 60e68a6bbac3904a68d1270843f839cf4c56883a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
|
||||||
|
Date: Mon, 30 May 2022 00:43:20 +0300
|
||||||
|
Subject: [PATCH] Remove voice search button
|
||||||
|
|
||||||
|
Remove voice search button from chrome://new-tab-page.
|
||||||
|
Firstly, Google APIs keys do not work now and this button also does not work.
|
||||||
|
Secondly, we use Yandex as the default search for most users, and Google's voice search is irrelevant.
|
||||||
|
---
|
||||||
|
chrome/browser/resources/new_tab_page/realbox/realbox.html | 3 ---
|
||||||
|
1 file changed, 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/chrome/browser/resources/new_tab_page/realbox/realbox.html b/chrome/browser/resources/new_tab_page/realbox/realbox.html
|
||||||
|
index 4f411aaf24..265dda16fe 100644
|
||||||
|
--- a/chrome/browser/resources/new_tab_page/realbox/realbox.html
|
||||||
|
+++ b/chrome/browser/resources/new_tab_page/realbox/realbox.html
|
||||||
|
@@ -137,9 +137,6 @@
|
||||||
|
<ntp-realbox-icon id="icon" match="[[selectedMatch_]]"
|
||||||
|
default-icon="[[realboxIcon_]]" in-searchbox>
|
||||||
|
</ntp-realbox-icon>
|
||||||
|
- <button id="voiceSearchButton" on-click="onVoiceSearchClick_"
|
||||||
|
- title="$i18n{voiceSearchButtonLabel}">
|
||||||
|
- </button>
|
||||||
|
<ntp-realbox-dropdown id="matches" role="listbox" theme="[[theme]]"
|
||||||
|
result="[[result_]]" selected-match-index="{{selectedMatchIndex_}}"
|
||||||
|
on-result-repaint="onResultRepaint_" on-match-focusin="onMatchFocusin_"
|
||||||
|
--
|
||||||
|
2.35.2
|
||||||
|
|
|
@ -126,12 +126,13 @@ Patch647: ALT-allow-to-override-clang-through-env-variables.patch
|
||||||
# XXX This patch is not enough to fully fix debuginfo and debugsource subpackages
|
# XXX This patch is not enough to fully fix debuginfo and debugsource subpackages
|
||||||
Patch648: fix-debugsource.patch
|
Patch648: fix-debugsource.patch
|
||||||
# chrome://new-tab-page-third-party -> chrome://new-tab-page
|
# chrome://new-tab-page-third-party -> chrome://new-tab-page
|
||||||
Patch649: 0001-Functional-new-tab-page-with-non-Google-search-engin.patch
|
Patch650: 0001-Functional-new-tab-page-with-non-Google-search-engin.patch
|
||||||
Patch650: 0002-Yandex-as-default-search-engine.patch
|
Patch651: 0002-Yandex-as-default-search-engine.patch
|
||||||
|
Patch652: 0003-Remove-voice-search-button.patch
|
||||||
# Block odd interaction with Google servers, probably including loading promo Google logos
|
# Block odd interaction with Google servers, probably including loading promo Google logos
|
||||||
# (e.g. an LGBT-colored one, https://clck.ru/niFdJ)
|
# (e.g. an LGBT-colored one, https://clck.ru/niFdJ)
|
||||||
# https://github.com/Eloston/ungoogled-chromium/blob/master/patches/core/ungoogled-chromium/block-requests.patch
|
# https://github.com/Eloston/ungoogled-chromium/blob/master/patches/core/ungoogled-chromium/block-requests.patch
|
||||||
Patch651: block-requests.patch
|
Patch653: block-requests.patch
|
||||||
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: llvm15
|
BuildRequires: llvm15
|
||||||
|
|
Loading…
Add table
Reference in a new issue