Only show "Never translate this site" when site can be blacklisted.
The option to "Never translate this site" is always shown on the translate dialog, even when the site cannot be blacklisted (for example a file:/// URL). This patch changes the translate options combon so "Never translate..." is only shown if it will have some effect. Note that the 2016Q2 experimental UI has not been patched as the currently plan is to not launch this UI. Bug: 663934 Change-Id: I64b80d830e124e9372906bd0c4711568c46ff636 Reviewed-on: https://chromium-review.googlesource.com/572475Reviewed-by:Jia Meng <jiameng@chromium.org> Commit-Queue: Jon Napper <napper@chromium.org> Cr-Commit-Position: refs/heads/master@{#509607}
Showing
Please register or sign in to comment