DescriptionCode cleanup for Translate Compact Infobar.
1. Move shouldAutoNeverTranslate checks to native code in order to simplify front-end logic.
2. Remove declined logging on Java side, which is duplicate in native.
3. Remove unnecessary "Cancel" action .
BUG=703887
Review-Url: https://codereview.chromium.org/2899893004
Cr-Commit-Position: refs/heads/master@{#474178}
Committed: https://chromium.googlesource.com/chromium/src/+/ae952008457a2f703d91e24b301efb59718fce87
Patch Set 1 #Patch Set 2 : fix #
Total comments: 4
Patch Set 3 : fix #Patch Set 4 : Merge branch 'master' into code-cleanup-5 #
Messages
Total messages: 16 (10 generated)
|