
chore: bump chromium to 140.0.7339.2 (main) (#47929) * chore: bump chromium in DEPS to 140.0.7330.0 * chore: bump chromium in DEPS to 140.0.7331.0 * chore: update patches * fix: gn check failing on crashpad.h Not yet sure what caused this * fix: predictors::PreconnectManager -> content::PreconnectManager CL: https://chromium-review.googlesource.com/c/chromium/src/+/6788473 * chore: bump chromium in DEPS to 140.0.7333.0 * chore: bump chromium in DEPS to 140.0.7335.0 * chore: bump chromium in DEPS to 140.0.7337.0 * chore: update patches * chore: restore some gin utility * 6804057: [Extensions] Validate nodoc is specified as a boolean in schemas https://chromium-review.googlesource.com/c/chromium/src/+/6804057 * fixup! chore: restore some gin utility * fixup! fix: predictors::PreconnectManager -> content::PreconnectManager CL: https://chromium-review.googlesource.com/c/chromium/src/+/6788473 * 6772346: Reset MouseWheelPhaseHandler state when trackpoint scroll is detected https://chromium-review.googlesource.com/c/chromium/src/+/6772346 Not certain about what the "correct" argument to pass here is. A quick dive into the CL suggests that passing `false` is safe to keep things working. The blast radius if this assumption is wrong is that "fling" scroll gestures may not work as expected with the OSR. * 6789383: Uninstall SODA language pack after 30 days of inactivity https://chromium-review.googlesource.com/c/chromium/src/+/6789383 * chore: update libcxx filenames * chore: bump chromium in DEPS to 140.0.7339.0 * chore: update patches * fixup! 6772346: Reset MouseWheelPhaseHandler state when trackpoint scroll is detected https://chromium-review.googlesource.com/c/chromium/src/+/6772346 * chore: bump chromium in DEPS to 140.0.7339.2 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Samuel Maddock <smaddock@slack-corp.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
34 lines
1 KiB
C++
34 lines
1 KiB
C++
// Copyright (c) 2014 GitHub, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "shell/browser/electron_speech_recognition_manager_delegate.h"
|
|
|
|
#include <utility>
|
|
|
|
#include "base/functional/callback.h"
|
|
|
|
namespace electron {
|
|
|
|
ElectronSpeechRecognitionManagerDelegate::
|
|
ElectronSpeechRecognitionManagerDelegate() = default;
|
|
|
|
ElectronSpeechRecognitionManagerDelegate::
|
|
~ElectronSpeechRecognitionManagerDelegate() = default;
|
|
|
|
void ElectronSpeechRecognitionManagerDelegate::CheckRecognitionIsAllowed(
|
|
int session_id,
|
|
base::OnceCallback<void(bool ask_user, bool is_allowed)> callback) {
|
|
std::move(callback).Run(true, true);
|
|
}
|
|
|
|
content::SpeechRecognitionEventListener*
|
|
ElectronSpeechRecognitionManagerDelegate::GetEventListener() {
|
|
return nullptr;
|
|
}
|
|
|
|
void ElectronSpeechRecognitionManagerDelegate::BindSpeechRecognitionContext(
|
|
mojo::PendingReceiver<media::mojom::SpeechRecognitionContext> receiver,
|
|
const std::string& language) {}
|
|
|
|
} // namespace electron
|