diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /devel/electron39/files/patch-ui_views_controls_textfield_textfield.h | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/electron39/files/patch-ui_views_controls_textfield_textfield.h')
| -rw-r--r-- | devel/electron39/files/patch-ui_views_controls_textfield_textfield.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-ui_views_controls_textfield_textfield.h b/devel/electron39/files/patch-ui_views_controls_textfield_textfield.h new file mode 100644 index 000000000000..5dcb224d5e9a --- /dev/null +++ b/devel/electron39/files/patch-ui_views_controls_textfield_textfield.h @@ -0,0 +1,20 @@ +--- ui/views/controls/textfield/textfield.h.orig 2025-06-30 07:04:30 UTC ++++ ui/views/controls/textfield/textfield.h +@@ -48,7 +48,7 @@ + #include "ui/views/view_observer.h" + #include "ui/views/word_lookup_client.h" + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + #include <vector> + #endif + +@@ -478,7 +478,7 @@ class VIEWS_EXPORT Textfield : public View, + // Set whether the text should be used to improve typing suggestions. + void SetShouldDoLearning(bool value) { should_do_learning_ = value; } + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + bool SetCompositionFromExistingText( + const gfx::Range& range, + const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) override; |
