[iOS] Removes ButtonStackViewController custom setters

This CL replaces CGFloat properties with boolean properties. This
simplifies the API, making the intent clearer and more declarative.

It also refactors the gradientView logic to make it cleaner.

Bug: 444648926
Change-Id: I9a083e1b0c2c665e70fea627ec0279304ac6f131
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7146306
Commit-Queue: Ewann Pellé <ewannpv@chromium.org>
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1544261}
NOKEYCHECK=True
GitOrigin-RevId: 11f31252f8cb0452d874fceaa2d0a13309b5af8d
9 files changed
tree: bad8dee6377aac374572c7c4a7987457552d9193
  1. build/
  2. chrome/
  3. components/
  4. google_internal/
  5. net/
  6. public/
  7. testing/
  8. third_party/
  9. tools/
  10. web/
  11. web_view/
  12. .swift-format
  13. BUILD.gn
  14. COMMON_METADATA
  15. DEPS
  16. DIR_METADATA
  17. features.gni
  18. OWNERS
  19. PRESUBMIT.py
  20. PRESUBMIT_test.py
  21. README.md
README.md

This directory holds code related to Chrome for iOS. See this document for a description of the structure underneath this directory.