Skip to content

Commit 9330d72

Browse files
authored
BACKPORT: [iOS Blink] Add support for --content-shell-hide-toolbar switch in the content shell (#7750)
Reviewed and landed in https://crrev.com/c/6917160. This CL made --content_shell-hide-toolbar switch work again in the content shell. Original CL description: [iOS Blink] Add support for --content-shell-hide-toolbar switch in the content shell The current implementation of ShellPlatformDelegateIOS does not support the `--content-shell-hide-toolbar` switch. This CL adds support by skipping toolbar creation when the switch is enabled. In addition, this CL refactors the code by extracting a recurring pattern into a separate function as well as renaming some variables. Bug: 442879546 Change-Id: Ic7e60d768a4b5ae3d3436e2c2b7f1cc6c0838c11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6917160 Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org> Cr-Commit-Position: refs/heads/main@{#1512224}
1 parent 997f44d commit 9330d72

File tree

1 file changed

+149
-133
lines changed

1 file changed

+149
-133
lines changed

0 commit comments

Comments
 (0)