diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-04 17:20:24 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-12 08:15:25 +0000 |
commit | 8fa0776f1f79e91fc9c0b9c1ba11a0a29c05196b (patch) | |
tree | 788d8d7549712682703a0310ca4a0f0860d4802b /chromium/ui/base/ime/input_method_base.cc | |
parent | 606d85f2a5386472314d39923da28c70c60dc8e7 (diff) | |
download | qtwebengine-chromium-8fa0776f1f79e91fc9c0b9c1ba11a0a29c05196b.tar.gz |
BASELINE: Update Chromium to 98.0.4758.90
Change-Id: Ib7c41539bf8a8e0376bd639f27d68294de90f3c8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/ui/base/ime/input_method_base.cc')
-rw-r--r-- | chromium/ui/base/ime/input_method_base.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chromium/ui/base/ime/input_method_base.cc b/chromium/ui/base/ime/input_method_base.cc index cb651909850..1c4ed271714 100644 --- a/chromium/ui/base/ime/input_method_base.cc +++ b/chromium/ui/base/ime/input_method_base.cc @@ -7,6 +7,7 @@ #include "base/bind.h" #include "base/callback_helpers.h" #include "base/check.h" +#include "base/ignore_result.h" #include "base/strings/utf_string_conversions.h" #include "build/build_config.h" #include "ui/base/ime/input_method_delegate.h" @@ -41,6 +42,8 @@ void InputMethodBase::OnFocus() { void InputMethodBase::OnBlur() { } +void InputMethodBase::OnTouch(ui::EventPointerType pointerType) {} + #if defined(OS_WIN) bool InputMethodBase::OnUntranslatedIMEMessage( const CHROME_MSG event, @@ -87,10 +90,9 @@ TextInputType InputMethodBase::GetTextInputType() const { } void InputMethodBase::ShowVirtualKeyboardIfEnabled() { - for (InputMethodObserver& observer : observer_list_) - observer.OnShowVirtualKeyboardIfEnabled(); - if (auto* keyboard = GetVirtualKeyboardController()) - keyboard->DisplayVirtualKeyboard(); + // TODO(crbug.com/1275410): Merge this into + // SetVirtualKeyboardVisibilityIfEnabled. + SetVirtualKeyboardVisibilityIfEnabled(true); } void InputMethodBase::SetVirtualKeyboardVisibilityIfEnabled(bool should_show) { |