Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1510)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java

Issue 2873103003: Implements logging in the new compact translate UI. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java
index 3c0f042b63415e34f04c02cf18d282c65b7fcbd9..b41586f23b4b7771fd7859fcd067d0e440a0b118 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java
@@ -175,7 +175,7 @@ public class TranslateLanguagePanel
*/
private ArrayList<SpinnerLanguageElement> createSpinnerLanguages(String avoidCode) {
ArrayList<SpinnerLanguageElement> result = new ArrayList<SpinnerLanguageElement>();
- for (TranslateOptions.TranslateLanguagePair language : mSessionOptions.allLanguages()) {
+ for (TranslateOptions.TranslateLanguageData language : mSessionOptions.allLanguages()) {
if (!language.mLanguageCode.equals(avoidCode)) {
result.add(new SpinnerLanguageElement(
language.mLanguageRepresentation, language.mLanguageCode));

Powered by Google App Engine
This is Rietveld 408576698