[iOS] Reformat speedbump menu code.

I'm loosely following comments in crrev/c/6218551. I think by factoring
the menu creation into a separate method, viewDidLoad is more readable.
I also factor out strings as per Mark's comment to improve identation.

Bug: none
Change-Id: Ida694562933d2495eaa86bdfcb040565250ad2be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6234589
Reviewed-by: Mark Cogan <marq@chromium.org>
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Auto-Submit: Stepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416716}
NOKEYCHECK=True
GitOrigin-RevId: 8247afa2da574dded0b853dbae32b70fad23a70f
1 file changed
tree: 04c3e6d894313fe81e66e8e9406fa0441079a0e2
  1. build/
  2. chrome/
  3. components/
  4. google_internal/
  5. intents/
  6. net/
  7. public/
  8. testing/
  9. third_party/
  10. tools/
  11. web/
  12. web_view/
  13. .swift-format
  14. BUILD.gn
  15. COMMON_METADATA
  16. DEPS
  17. DIR_METADATA
  18. features.gni
  19. OWNERS
  20. PRESUBMIT.py
  21. PRESUBMIT_test.py
  22. 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.