-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS][Omnibox] Fix RTL bug in treatment 1 new popup
This cherry-pick has a merge conflict because this refactoring CL: https://chromium-review.googlesource.com/c/chromium/src/+/3645048 is not present on the branch. Manually resolved. Original CL description: Fix RTL behavior in the new popup: 1. Use the existing setSemanticContentAttribute method to get omnibox's text direction, and push it down as layoutDirection @Environment var 2. Update the layout-guide-to-swiftui-offset calculation to take RTL into account 3. Stop aligning images by center, align by left edge instead. It's less future-proof but makes code a bit more readable 4. Minor changes: previews configuration and debug description added to PopupUIConfiguration (cherry picked from commit 43d9d4d) Fixed: 1327329 Change-Id: If00bc82b228b4c4056017bea6bc641000e619fa8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3657317 Auto-Submit: Stepan Khapugin <stkhapugin@chromium.org> Reviewed-by: Robbie Gibson <rkgibson@google.com> Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1007341} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3679078 Reviewed-by: Louis Romero <lpromero@chromium.org> Cr-Commit-Position: refs/branch-heads/5060@{#406} Cr-Branched-From: b83393d-refs/heads/main@{#1002911}
- Loading branch information
Stepan Khapugin
authored and
Chromium LUCI CQ
committed
May 31, 2022
1 parent
4e4edfa
commit 732563f
Showing
5 changed files
with
62 additions
and
29 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
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