Trigger translate immediately when the 'Translate...' button is pressed in the overflow menu.
This also sets mUserInteracted = true in a couple places where it was not being set previously. I believe the intention of the bool and the INFOBAR_DECLINE metric is to track the number of immediate closes of the infobar, but please let me know if this isn't the case. Bug: 1123180 Change-Id: Ia8bd867575b7d242554cec8336a31aa5ead714e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388777 Commit-Queue: Josh Simmons <jds@google.com> Reviewed-by:David Trainor <dtrainor@chromium.org> Reviewed-by:
Megan Jablonski <megjablon@chromium.org> Cr-Commit-Position: refs/heads/master@{#806410}
Showing
Please register or sign in to comment