| Index: android_webview/java/src/org/chromium/android_webview/AwAutofillManager.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwAutofillManager.java b/android_webview/java/src/org/chromium/android_webview/AwAutofillManager.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e08c221e34cda1dac5e285758524d2dcd7d9f372
|
| --- /dev/null
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwAutofillManager.java
|
| @@ -0,0 +1,36 @@
|
| +package org.chromium.android_webview;
|
| +
|
| +import android.content.Context;
|
| +import android.graphics.Rect;
|
| +import android.view.View;
|
| +import android.view.autofill.AutofillManager;
|
| +import android.view.autofill.AutofillValue;
|
| +
|
| +public class AwAutofillManager {
|
| +
|
| + private AutofillManager mAutofillManager;
|
| +
|
| + public AwAutofillManager(Context context) {
|
| + mAutofillManager = context.getSystemService(AutofillManager.class);
|
| + }
|
| +
|
| + public void notifyVirtualValueChanged(View parent, int childId, AutofillValue value) {
|
| + mAutofillManager.notifyValueChanged(parent, childId, value);
|
| + }
|
| +
|
| + public void commit() {
|
| + mAutofillManager.commit();
|
| + }
|
| +
|
| + public void cancel() {
|
| + mAutofillManager.cancel();
|
| + }
|
| +
|
| + public void notifyVirtualViewEntered(View parent, int childId, Rect bounds) {
|
| + mAutofillManager.notifyViewEntered(parent, childId, bounds);
|
| + }
|
| +
|
| + public void notifyVirtualViewExited(View parent, int childId) {
|
| + mAutofillManager.notifyViewExited(parent, childId);
|
| + }
|
| +}
|
|
|