-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Add omnibox typing shield in form input accessory view
Currently, when the bottom omnibox collapses above the keyboard, the bottom toolbar is placed above the input accessory view. When a textfield is focused on web, WKWebView scrolls the web page to keep the textfield visible. Since the toolbar is above the keyboard accessory, the toolbar blocks the textfield. This CL adds an omnibox typing shield (a transparent view) in the form input accessory view for the collapsed omnibox. The collapsed omnibox will be behind the keyboard input accessory instead of above it. - A omniboxTypingShield view is added in FormInputAccessoryView. To allow this, the remaining views are added into a contentView wrapper. - The typing shield is only added when the omnibox is at the bottom. - When tapping on the typing shield, resign the first responder. Textfield focus recording: https://drive.google.com/file/d/19Tz3re2vWJJw5o1nEQH_WwzRh2KdFORw/view?usp=sharing Autofill recording: https://drive.google.com/file/d/11Gn7AI6rp1oyPh6n6_FXLr6Rnm_USPek/view?usp=drive_link Voice over recording: https://drive.google.com/file/d/1NsvFXLaXSLUfJpfb6ccvfatys6ztp5h6/view?usp=drive_link Bug: 1490601 Change-Id: Id7980a1e3441d723f26886daf7db3ef5c676bc91 Low-Coverage-Reason: TESTS_IN_SEPARATE_CL egtest moved to a separate CL 4931670 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4926228 Reviewed-by: Gauthier Ambard <gambard@chromium.org> Auto-Submit: Christian Xu <christianxu@chromium.org> Commit-Queue: Christian Xu <christianxu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1209354}
- Loading branch information
1 parent
48e1caf
commit 7605509
Showing
15 changed files
with
204 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include_rules = [ | ||
"+ios/chrome/browser/ui/toolbar/public/toolbar_utils.h", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.