Commit e588d5c7 authored by martiw's avatar martiw Committed by Commit bot

Add the new icon for the new translate infobar.

The new icon is used in the new infobar only.
The icon in the old translate infobar and "main menu -> settings -> site settings" will remain unchanged at the moment.

BUG=703887

Review-Url: https://codereview.chromium.org/2846183002
Cr-Commit-Position: refs/heads/master@{#468576}
parent 4daea173
...@@ -52,7 +52,7 @@ class TranslateCompactInfoBar extends InfoBar ...@@ -52,7 +52,7 @@ class TranslateCompactInfoBar extends InfoBar
TranslateCompactInfoBar(int initialStep, String sourceLanguageCode, String targetLanguageCode, TranslateCompactInfoBar(int initialStep, String sourceLanguageCode, String targetLanguageCode,
boolean alwaysTranslate, boolean triggeredFromMenu, String[] languages, boolean alwaysTranslate, boolean triggeredFromMenu, String[] languages,
String[] codes) { String[] codes) {
super(R.drawable.infobar_translate, null, null); super(R.drawable.infobar_translate_compact, null, null);
mInitialStep = initialStep; mInitialStep = initialStep;
mOptions = TranslateOptions.create(sourceLanguageCode, targetLanguageCode, languages, codes, mOptions = TranslateOptions.create(sourceLanguageCode, targetLanguageCode, languages, codes,
alwaysTranslate, triggeredFromMenu); alwaysTranslate, triggeredFromMenu);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment