commit | db81aaca876591cffc8bf2768d735f716d62a7ac | [log] [tgz] |
---|---|---|
author | Gauthier Ambard <gambard@chromium.org> | Mon Aug 04 10:18:17 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 04 10:18:17 2025 |
tree | b5d52528b73ff1d52e6ec2de0cd24123bf484aca | |
parent | 12b6b629442d30b123d9f3c6e33d68e40c6b6663 [diff] |
[iOS][Diamond] Update omnibox look This CL updates how the omnibox looks like in Diamond sheet. https://screenshot.googleplex.com/8VrGiYJHxEN9T3x Bug: 429955447 Change-Id: Iba91afc7396b397ff376953f6c9ce372ef00675d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6814253 Reviewed-by: Ewann Pellé <ewannpv@chromium.org> Commit-Queue: Gauthier Ambard <gambard@chromium.org> Auto-Submit: Gauthier Ambard <gambard@chromium.org> Commit-Queue: Ewann Pellé <ewannpv@chromium.org> Cr-Commit-Position: refs/heads/main@{#1496220}
diff --git a/ios/chrome/browser/shared/public/prototypes/diamond/new_tab_prototype_view_controller.mm b/ios/chrome/browser/shared/public/prototypes/diamond/new_tab_prototype_view_controller.mm index 15a0495..a8957a5 100644 --- a/ios/chrome/browser/shared/public/prototypes/diamond/new_tab_prototype_view_controller.mm +++ b/ios/chrome/browser/shared/public/prototypes/diamond/new_tab_prototype_view_controller.mm
@@ -144,6 +144,11 @@ _omniboxContainer = [[UIView alloc] init]; _omniboxContainer.translatesAutoresizingMaskIntoConstraints = NO; _omniboxContainer.backgroundColor = [UIColor colorNamed:kSolidWhiteColor]; + _omniboxContainer.layer.shadowColor = + [UIColor colorNamed:kSolidBlackColor].CGColor; + _omniboxContainer.layer.shadowOffset = CGSizeMake(0, 5); + _omniboxContainer.layer.shadowOpacity = 0.2; + _omniboxContainer.layer.shadowRadius = 5; _omniboxContainer.layer.cornerRadius = kOmniboxContainerHeight / 2.0; [self.view addSubview:_omniboxContainer];