chromium-browser-stable-test/0003-Remove-voice-search-button.patch
Mikhail Novosyolov ab18bc03ad rediff patches
2023-10-16 23:43:39 +03:00

29 lines
1.3 KiB
Diff

From 046e303d75c84662b316a84c3fb6c163d60f7c4d 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 3/5] 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 a3114401e1479..df2f819b58f4e 100644
--- a/chrome/browser/resources/new_tab_page/realbox/realbox.html
+++ b/chrome/browser/resources/new_tab_page/realbox/realbox.html
@@ -230,9 +230,6 @@
<cr-realbox-icon id="icon" match="[[selectedMatch_]]"
default-icon="[[realboxIcon_]]" in-searchbox>
</cr-realbox-icon>
- <button id="voiceSearchButton" class="realbox-icon-button"
- on-click="onVoiceSearchClick_" title="$i18n{voiceSearchButtonLabel}">
- </button>
<template is="dom-if" if="[[realboxLensSearchEnabled_]]">
<button id="lensSearchButton" class="realbox-icon-button"
on-click="onLensSearchClick_" title="$i18n{lensSearchButtonLabel}">
--
2.40.1