[ios blink] Resign first responder on url entry
Close the keyboard when we follow a location from the url entry field. Change-Id: I084b58c3595a2d0a92e35f4629aa0e160fad4909 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354324 Reviewed-by: Rohit Rao <rohitrao@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/main@{#1432420}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
bed531f641
commit
4b726b369c
@ -395,6 +395,7 @@ static const char kAllTracingCategories[] = "*";
|
||||
std::string search_url = "https://www.google.com/search?q=" + field_value;
|
||||
url = GURL(search_url);
|
||||
}
|
||||
[_field resignFirstResponder];
|
||||
_shell->LoadURL(url);
|
||||
return YES;
|
||||
}
|
||||
|
Reference in New Issue
Block a user