This source file includes following definitions.
- JNINamespace
- runFileChooser
- addNewContents
- closeContents
- activateContents
- nativeFilesSelectedInChooser
package org.chromium.android_webview;
import com.google.common.annotations.VisibleForTesting;
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
import org.chromium.components.web_contents_delegate_android.WebContentsDelegateAndroid;
@VisibleForTesting
@JNINamespace("android_webview")
public abstract class AwWebContentsDelegate extends WebContentsDelegateAndroid {
@CalledByNative
public abstract void runFileChooser(int processId, int renderId, int mode_flags,
String acceptTypes, String title, String defaultFilename, boolean capture);
@CalledByNative
public abstract boolean addNewContents(boolean isDialog, boolean isUserGesture);
@Override
@CalledByNative
public abstract void closeContents();
@Override
@CalledByNative
public abstract void activateContents();
protected static native void nativeFilesSelectedInChooser(int processId, int renderId,
int mode_flags, String[] filePath);
}