mirror of
https://github.com/morgan9e/helium
synced 2026-04-14 00:14:20 +09:00
patches: refresh for chromium 141.0.7390.107
This commit is contained in:
@@ -796,7 +796,7 @@
|
||||
#endif // COMPONENTS_HELIUM_SERVICES_PREF_NAMES_H_
|
||||
--- a/components/omnibox/browser/omnibox_edit_model.cc
|
||||
+++ b/components/omnibox/browser/omnibox_edit_model.cc
|
||||
@@ -824,6 +824,17 @@ bool OmniboxEditModel::AcceptKeyword(
|
||||
@@ -826,6 +826,17 @@ bool OmniboxEditModel::AcceptKeyword(
|
||||
|
||||
controller_->StopAutocomplete(/*clear_result=*/false);
|
||||
|
||||
@@ -814,7 +814,7 @@
|
||||
is_keyword_hint_ = false;
|
||||
keyword_mode_entry_method_ = entry_method;
|
||||
if (original_user_text_with_keyword_.empty()) {
|
||||
@@ -866,9 +877,6 @@ bool OmniboxEditModel::AcceptKeyword(
|
||||
@@ -868,9 +879,6 @@ bool OmniboxEditModel::AcceptKeyword(
|
||||
}
|
||||
|
||||
base::RecordAction(base::UserMetricsAction("AcceptedKeywordHint"));
|
||||
@@ -824,7 +824,7 @@
|
||||
EmitEnteredKeywordModeHistogram(entry_method, turl, !user_text_.empty());
|
||||
return true;
|
||||
}
|
||||
@@ -1520,7 +1528,13 @@ void OmniboxEditModel::InternalSetUserTe
|
||||
@@ -1522,7 +1530,13 @@ void OmniboxEditModel::InternalSetUserTe
|
||||
|
||||
std::u16string OmniboxEditModel::MaybeStripKeyword(
|
||||
const std::u16string& text) const {
|
||||
@@ -839,7 +839,7 @@
|
||||
? AutocompleteInput::SplitReplacementStringFromInput(text, false)
|
||||
: text;
|
||||
}
|
||||
@@ -2779,9 +2793,8 @@ bool OmniboxEditModel::MaybeAcceptKeywor
|
||||
@@ -2781,9 +2795,8 @@ bool OmniboxEditModel::MaybeAcceptKeywor
|
||||
return false;
|
||||
|
||||
size_t keyword_length = new_text.length() - 1;
|
||||
|
||||
Reference in New Issue
Block a user