[iOS] Deprecate traitCollectionDidChange in FindBarView

Since traitCollectionDidChange is deprecated in iOS 17, FindBarView was
updated to use the new alternative system, registerForTraitChanges.

Fixed: 391365718
Change-Id: I86af5ca216144374a1ded67b9281bd8f6f379b4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6194375
Commit-Queue: Daniel White <danieltwhite@google.com>
Reviewed-by: Stepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416873}
NOKEYCHECK=True
GitOrigin-RevId: e6e4b812e1507fe0c313835e99bfdb46a9887148
1 file changed
tree: 4b41f0551617fe5b662b1a78d5da5780309127a7
  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.