commit | 5b85d12f602d7ecb310d00d1bd673d1b3de81c65 | [log] [tgz] |
---|---|---|
author | Moe Ahmadi <mahmadi@chromium.org> | Thu Feb 07 21:28:54 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 07 21:28:54 2019 |
tree | fbf9367d3c453771d65ccc3a8ce59697e174407c | |
parent | ef214ff9b662af5d947db5f675e744ae272f4b44 [diff] |
[iOS][Translate] Fix translate infobar being created in "translating" state Currently TranslateInforbarView and its subviews assume that the translate infobar is always created in "before translate" state, i.e., the source language tab would be selected and the target language tab would be unselected. The translate infobar, however, can be created in "translating" or "after translate" states, i.e., the target language tab would be in loading or selected states respectively. This CL removes the assumed default state and instead propagates the default state to the TranslateInforbarView (and its subviews) after creation. TBR=droger@ Bug: 910994 Change-Id: Ifdb280a104e61cde81c703a490f7637986b76a72 Reviewed-on: https://chromium-review.googlesource.com/c/1448807 Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Reviewed-by: Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#630049}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .