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

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

Issue 2882143002: Fix the bug that 'Afikaans' is unable to be selected in language menu. (Closed)
Patch Set: make ID_UNDEFINED = -1 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/infobar/translate/TranslateMenu.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/translate/TranslateMenu.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/translate/TranslateMenu.java
index 8d805b6bbd295030dfe05a831282cdbda10eb3d8..6096f9df80c6c847c9640ebfd6c8f11eeb32dc4c 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/translate/TranslateMenu.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/translate/TranslateMenu.java
@@ -43,13 +43,13 @@ public final class TranslateMenu {
public static final int ITEM_CHECKBOX_OPTION = 2;
public static final int MENU_ITEM_TYPE_COUNT = 3;
- // Menu Item ID config for MENU_OVERFLOW .
- public static final int ID_UNDEFINED = 0;
- public static final int ID_OVERFLOW_MORE_LANGUAGE = 1;
- public static final int ID_OVERFLOW_ALWAYS_TRANSLATE = 2;
- public static final int ID_OVERFLOW_NEVER_SITE = 3;
- public static final int ID_OVERFLOW_NEVER_LANGUAGE = 4;
- public static final int ID_OVERFLOW_NOT_THIS_LANGUAGE = 5;
+ // Menu Item ID config for MENU_OVERFLOW.
+ public static final int ID_UNDEFINED = -1;
+ public static final int ID_OVERFLOW_MORE_LANGUAGE = 0;
+ public static final int ID_OVERFLOW_ALWAYS_TRANSLATE = 1;
+ public static final int ID_OVERFLOW_NEVER_SITE = 2;
+ public static final int ID_OVERFLOW_NEVER_LANGUAGE = 3;
+ public static final int ID_OVERFLOW_NOT_THIS_LANGUAGE = 4;
private static final List<MenuItem> OVERFLOW_MENU = new ArrayList<MenuItem>();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698