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

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

Issue 14018004: [Android] Refactor NativeView to be able to use it for AutofillDialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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 | chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopup.java » ('j') | 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/autofill/AutofillDialogGlue.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java
index b3c8bbacc10c429a158c90faf5835bac7824de24..52108a1eb16e5886ad5a83b86894db2eb3fa9874 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java
@@ -22,20 +22,20 @@ public class AutofillDialogGlue implements AutofillDialogDelegate,
private final AutofillDialog mAutofillDialog;
private final AutofillDialogAccountHelper mAccountHelper;
- public AutofillDialogGlue(int nativeAutofillDialogViewAndroid, WindowAndroid nativeWindow,
+ public AutofillDialogGlue(int nativeAutofillDialogViewAndroid, WindowAndroid windowAndroid,
String saveLocallyText) {
mNativeDialogPopup = nativeAutofillDialogViewAndroid;
- mAccountHelper = new AutofillDialogAccountHelper(this, nativeWindow.getContext());
+ mAccountHelper = new AutofillDialogAccountHelper(this, windowAndroid.getContext());
- mAutofillDialog = new AutofillDialog(nativeWindow.getContext(), this, saveLocallyText);
+ mAutofillDialog = new AutofillDialog(windowAndroid.getContext(), this, saveLocallyText);
mAutofillDialog.show();
}
@CalledByNative
private static AutofillDialogGlue create(int nativeAutofillDialogViewAndroid,
- WindowAndroid nativeWindow,
+ WindowAndroid windowAndroid,
String saveLocallyText) {
- return new AutofillDialogGlue(nativeAutofillDialogViewAndroid, nativeWindow,
+ return new AutofillDialogGlue(nativeAutofillDialogViewAndroid, windowAndroid,
saveLocallyText);
}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopup.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698