Add support for overriding translate blocklists for hrefTranslate.
This CL adds support for overriding the translate language blocklist and the URL host blocklist (each behind separate flags) when a link is clicked that has hrefTranslate set. Each of these flags also supports a parameter to indicate how much behavior should override these blocklists: just the behavior of showing the translate UI, or the automatic translation behavior as well. Bug: 1131240 Change-Id: I1b4912ed1e369b04f1d326255c1a77763d825c0b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2425085 Commit-Queue: Scott Little <sclittle@chromium.org> Reviewed-by:Megan Jablonski <megjablon@chromium.org> Cr-Commit-Position: refs/heads/master@{#812190}
Showing
This diff is collapsed.
Please register or sign in to comment