diff options
author | Robert Nagy <rnagy@FreeBSD.org> | 2023-12-23 21:38:28 +0000 |
---|---|---|
committer | Robert Nagy <rnagy@FreeBSD.org> | 2023-12-23 21:40:09 +0000 |
commit | 3f144c348f95ac9df705e7bc713c382e370589ad (patch) | |
tree | 64e4e02cca28cc057f2a06deebbcd989e8a36613 /www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc | |
parent | fe8a74f7f89cf9287f5162ffced3f0838a5e3552 (diff) | |
download | ports-3f144c348f95ac9df705e7bc713c382e370589ad.tar.gz ports-3f144c348f95ac9df705e7bc713c382e370589ad.zip |
www/ungoogled-chromium: update to 120.0.6099.129
Security: https://vuxml.freebsd.org/freebsd/1b2a8e8a-9fd5-11ee-86bb-a8a1599412c6.html
(cherry picked from commit 2b72ddf76578b82d7d146d5268cd88a00650b88f)
Diffstat (limited to 'www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc')
-rw-r--r-- | www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc b/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc index 8f3407a24d54..c68be6c24865 100644 --- a/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc +++ b/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc @@ -1,4 +1,4 @@ ---- ui/views/controls/textfield/textfield.cc.orig 2023-11-04 07:08:51 UTC +--- ui/views/controls/textfield/textfield.cc.orig 2023-12-23 12:33:28 UTC +++ ui/views/controls/textfield/textfield.cc @@ -81,7 +81,7 @@ #include "base/win/win_util.h" @@ -7,9 +7,9 @@ -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/base/ime/linux/text_edit_command_auralinux.h" + #include "ui/base/ime/text_input_flags.h" #include "ui/linux/linux_ui.h" - #endif -@@ -175,7 +175,7 @@ bool IsControlKeyModifier(int flags) { +@@ -176,7 +176,7 @@ bool IsControlKeyModifier(int flags) { // Control-modified key combination, but we cannot extend it to other platforms // as Control has different meanings and behaviors. // https://crrev.com/2580483002/#msg46 @@ -18,7 +18,7 @@ return flags & ui::EF_CONTROL_DOWN; #else return false; -@@ -746,7 +746,7 @@ bool Textfield::OnKeyPressed(const ui::KeyEvent& event +@@ -747,7 +747,7 @@ bool Textfield::OnKeyPressed(const ui::KeyEvent& event if (!textfield) return handled; @@ -27,7 +27,7 @@ auto* linux_ui = ui::LinuxUi::instance(); std::vector<ui::TextEditCommandAuraLinux> commands; if (!handled && linux_ui && -@@ -928,7 +928,7 @@ void Textfield::AboutToRequestFocusFromTabTraversal(bo +@@ -930,7 +930,7 @@ void Textfield::AboutToRequestFocusFromTabTraversal(bo } bool Textfield::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) { @@ -36,7 +36,7 @@ // Skip any accelerator handling that conflicts with custom keybindings. auto* linux_ui = ui::LinuxUi::instance(); std::vector<ui::TextEditCommandAuraLinux> commands; -@@ -1933,7 +1933,7 @@ bool Textfield::ShouldDoLearning() { +@@ -1941,7 +1941,7 @@ bool Textfield::ShouldDoLearning() { return false; } @@ -45,7 +45,7 @@ // TODO(https://crbug.com/952355): Implement this method to support Korean IME // reconversion feature on native text fields (e.g. find bar). bool Textfield::SetCompositionFromExistingText( -@@ -2446,14 +2446,14 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent( +@@ -2454,14 +2454,14 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent( #endif return ui::TextEditCommand::DELETE_BACKWARD; } |