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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopup.java

Issue 11360207: Add Java resources to content and chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove obsolete findbugs warnings Created 8 years, 1 month 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/autofill/AutofillPopup.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopup.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopup.java
index 6fb0750ad6b284ec9443ffc2008130bb63ace43a..22e469fe4707021972fe65a4e6faf8f7b4f93e90 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopup.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopup.java
@@ -21,7 +21,7 @@ import android.widget.TextView;
import java.util.ArrayList;
-import org.chromium.content.app.AppResource;
+import org.chromium.chrome.R;
import org.chromium.content.browser.ContainerViewDelegate;
import org.chromium.ui.gfx.NativeWindow;
@@ -170,10 +170,10 @@ public class AutofillPopup extends ListPopupWindow implements AdapterView.OnItem
LayoutInflater inflater =
(LayoutInflater) mNativeWindow.getContext().getSystemService(
Context.LAYOUT_INFLATER_SERVICE);
- View layout = inflater.inflate(AppResource.LAYOUT_AUTOFILL_TEXT, null);
- TextView nameView = (TextView) layout.findViewById(AppResource.ID_AUTOFILL_NAME);
+ View layout = inflater.inflate(R.layout.autofill_text, null);
+ TextView nameView = (TextView) layout.findViewById(R.id.autofill_name);
mNameViewPaint = nameView.getPaint();
- TextView labelView = (TextView) layout.findViewById(AppResource.ID_AUTOFILL_LABEL);
+ TextView labelView = (TextView) layout.findViewById(R.id.autofill_label);
mLabelViewPaint = labelView.getPaint();
}

Powered by Google App Engine
This is Rietveld 408576698