OLD | NEW |
(Empty) | |
| 1 package org.chromium.android_webview; |
| 2 |
| 3 import android.content.Context; |
| 4 import android.graphics.Rect; |
| 5 import android.view.View; |
| 6 import android.view.autofill.AutofillManager; |
| 7 import android.view.autofill.AutofillValue; |
| 8 |
| 9 public class AwAutofillManager { |
| 10 |
| 11 private AutofillManager mAutofillManager; |
| 12 |
| 13 public AwAutofillManager(Context context) { |
| 14 mAutofillManager = context.getSystemService(AutofillManager.class); |
| 15 } |
| 16 |
| 17 public void notifyVirtualValueChanged(View parent, int childId, AutofillValu
e value) { |
| 18 mAutofillManager.notifyValueChanged(parent, childId, value); |
| 19 } |
| 20 |
| 21 public void commit() { |
| 22 mAutofillManager.commit(); |
| 23 } |
| 24 |
| 25 public void cancel() { |
| 26 mAutofillManager.cancel(); |
| 27 } |
| 28 |
| 29 public void notifyVirtualViewEntered(View parent, int childId, Rect bounds)
{ |
| 30 mAutofillManager.notifyViewEntered(parent, childId, bounds); |
| 31 } |
| 32 |
| 33 public void notifyVirtualViewExited(View parent, int childId) { |
| 34 mAutofillManager.notifyViewExited(parent, childId); |
| 35 } |
| 36 } |
OLD | NEW |