summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h
diff options
context:
space:
mode:
authorShokara Kou <kou@13f0.net>2022-06-06 21:27:26 -0400
committerShokara Kou <kou@13f0.net>2022-06-06 21:27:26 -0400
commitddb6da8b8aa31f3162c3d925f7412fe58a980acd (patch)
tree8dfee090e83fc32c97a508cdba40384865e0ca7c /www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h
parente4fc568ec5f38ccaa75b0c148ef0395cc62db04d (diff)
add leo larnack's ungoogled-flavoured chromium port
Unlike my previous failed attempt at doing the same, this should actually work. Source: https://marc.info/?l=openbsd-ports&m=164135083101196&w=2 https://pseven.xyz/pub/chromium-uc.tar.gz
Diffstat (limited to 'www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h')
-rw-r--r--www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h b/www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h
new file mode 100644
index 0000000..1fe2ce5
--- /dev/null
+++ b/www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h
@@ -0,0 +1,14 @@
1$OpenBSD: patch-ui_views_controls_textfield_textfield_h,v 1.1 2021/11/16 11:28:47 robert Exp $
2
3Index: ui/views/controls/textfield/textfield.h
4--- ui/views/controls/textfield/textfield.h.orig
5+++ ui/views/controls/textfield/textfield.h
6@@ -442,7 +442,7 @@ class VIEWS_EXPORT Textfield : public View,
7 // Set whether the text should be used to improve typing suggestions.
8 void SetShouldDoLearning(bool value) { should_do_learning_ = value; }
9
10-#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
11+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
12 bool SetCompositionFromExistingText(
13 const gfx::Range& range,
14 const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) override;