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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java

Issue 306053008: Rename AutofillManagerDelegate to AutofillClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 | android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java b/android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java
similarity index 83%
rename from android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java
rename to android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java
index 286d8c1836ab3825c2b89fedfa1690ee1870ca28..f5e14ae6609291421404b55f4cd6d05586eaa534 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java
@@ -13,24 +13,24 @@ import org.chromium.ui.autofill.AutofillPopup;
import org.chromium.ui.autofill.AutofillSuggestion;
/**
- * Java counterpart to the AwAutofillManagerDelegate. This class is owned by AwContents and has
+ * Java counterpart to the AwAutofillClient. This class is owned by AwContents and has
* a weak reference from native side.
*/
@JNINamespace("android_webview")
-public class AwAutofillManagerDelegate {
+public class AwAutofillClient {
- private final long mNativeAwAutofillManagerDelegate;
+ private final long mNativeAwAutofillClient;
private AutofillPopup mAutofillPopup;
private ViewGroup mContainerView;
private ContentViewCore mContentViewCore;
@CalledByNative
- public static AwAutofillManagerDelegate create(long nativeDelegate) {
- return new AwAutofillManagerDelegate(nativeDelegate);
+ public static AwAutofillClient create(long nativeClient) {
+ return new AwAutofillClient(nativeClient);
}
- private AwAutofillManagerDelegate(long nativeAwAutofillManagerDelegate) {
- mNativeAwAutofillManagerDelegate = nativeAwAutofillManagerDelegate;
+ private AwAutofillClient(long nativeAwAutofillClient) {
+ mNativeAwAutofillClient = nativeAwAutofillClient;
}
public void init(ContentViewCore contentViewCore) {
@@ -53,7 +53,7 @@ public class AwAutofillManagerDelegate {
public void requestHide() { }
@Override
public void suggestionSelected(int listIndex) {
- nativeSuggestionSelected(mNativeAwAutofillManagerDelegate, listIndex);
+ nativeSuggestionSelected(mNativeAwAutofillClient, listIndex);
}
});
}
@@ -87,6 +87,6 @@ public class AwAutofillManagerDelegate {
array[index] = new AutofillSuggestion(name, label, uniqueId);
}
- private native void nativeSuggestionSelected(long nativeAwAutofillManagerDelegate,
+ private native void nativeSuggestionSelected(long nativeAwAutofillClient,
int position);
}
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698