[LU] Handle transition between translate and selection in Post Capture

The detents are correctly adjusted and the selection area resets when
transitioning to translate, bringing the bottom sheet down. The bottom
sheet is then restored when switching back to selection.

Change-Id: I23c030c3957c0e86e5afce3ed57992195612a3c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6234237
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Auto-Submit: Radu Nitescu <radunitescu@google.com>
Reviewed-by: Stepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1417464}
NOKEYCHECK=True
GitOrigin-RevId: ce5c64caee944101b0382d08019180aedc9c948d
5 files changed
tree: c670d9493df112a55729a570f6134a943dd0e9ec
  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.