aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-ui_base_ime_text__input__client.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-ui_base_ime_text__input__client.h')
-rw-r--r--devel/electron38/files/patch-ui_base_ime_text__input__client.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-ui_base_ime_text__input__client.h b/devel/electron38/files/patch-ui_base_ime_text__input__client.h
new file mode 100644
index 000000000000..f31e3d3ac625
--- /dev/null
+++ b/devel/electron38/files/patch-ui_base_ime_text__input__client.h
@@ -0,0 +1,11 @@
+--- ui/base/ime/text_input_client.h.orig 2025-03-24 20:50:14 UTC
++++ ui/base/ime/text_input_client.h
+@@ -337,7 +337,7 @@ class COMPONENT_EXPORT(UI_BASE_IME) TextInputClient {
+ // fields that are considered 'private' (e.g. in incognito tabs).
+ virtual bool ShouldDoLearning() = 0;
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // Start composition over a given UTF-16 code range from existing text. This
+ // should only be used for composition scenario when IME wants to start
+ // composition on existing text. Returns whether the operation was successful.