Skip to content

Commit ab6faea

Browse files
committed
patches: refresh for chromium 141.0.7390.107
1 parent 5bf2bc5 commit ab6faea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

patches/helium/core/add-native-bangs.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@
796796
#endif // COMPONENTS_HELIUM_SERVICES_PREF_NAMES_H_
797797
--- a/components/omnibox/browser/omnibox_edit_model.cc
798798
+++ b/components/omnibox/browser/omnibox_edit_model.cc
799-
@@ -824,6 +824,17 @@ bool OmniboxEditModel::AcceptKeyword(
799+
@@ -826,6 +826,17 @@ bool OmniboxEditModel::AcceptKeyword(
800800

801801
controller_->StopAutocomplete(/*clear_result=*/false);
802802

@@ -814,7 +814,7 @@
814814
is_keyword_hint_ = false;
815815
keyword_mode_entry_method_ = entry_method;
816816
if (original_user_text_with_keyword_.empty()) {
817-
@@ -866,9 +877,6 @@ bool OmniboxEditModel::AcceptKeyword(
817+
@@ -868,9 +879,6 @@ bool OmniboxEditModel::AcceptKeyword(
818818
}
819819

820820
base::RecordAction(base::UserMetricsAction("AcceptedKeywordHint"));
@@ -824,7 +824,7 @@
824824
EmitEnteredKeywordModeHistogram(entry_method, turl, !user_text_.empty());
825825
return true;
826826
}
827-
@@ -1520,7 +1528,13 @@ void OmniboxEditModel::InternalSetUserTe
827+
@@ -1522,7 +1530,13 @@ void OmniboxEditModel::InternalSetUserTe
828828

829829
std::u16string OmniboxEditModel::MaybeStripKeyword(
830830
const std::u16string& text) const {
@@ -839,7 +839,7 @@
839839
? AutocompleteInput::SplitReplacementStringFromInput(text, false)
840840
: text;
841841
}
842-
@@ -2779,9 +2793,8 @@ bool OmniboxEditModel::MaybeAcceptKeywor
842+
@@ -2781,9 +2795,8 @@ bool OmniboxEditModel::MaybeAcceptKeywor
843843
return false;
844844

845845
size_t keyword_length = new_text.length() - 1;

0 commit comments

Comments
 (0)