mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-24 10:02:47 +00:00
24 lines
1.1 KiB
Diff
24 lines
1.1 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.
|
|
|
|
--- a/ui/webui/resources/cr_components/searchbox/realbox.html
|
|
+++ b/ui/webui/resources/cr_components/searchbox/realbox.html
|
|
@@ -316,12 +316,6 @@
|
|
</template>
|
|
<template is="dom-if" if="[[realboxChromeRefreshTheming]]">
|
|
<template is="dom-if" if="[[realboxVoiceSearchEnabled_]]">
|
|
- <div class="realbox-icon-button-container voice">
|
|
- <button id="voiceSearchButton" class="realbox-icon-button"
|
|
- on-click="onVoiceSearchClick_"
|
|
- title="[[i18n('voiceSearchButtonLabel')]]">
|
|
- </button>
|
|
- </div>
|
|
</template>
|
|
<template is="dom-if" if="[[realboxLensSearchEnabled_]]">
|
|
<div class="realbox-icon-button-container lens">
|