This source file includes following definitions.
- createNativeWebContents
- createNativeWebContents
- destroyNativeWebContents
- nativeCreateNativeWebContents
- nativeDestroyNativeWebContents
package org.chromium.chrome.browser;
public abstract class ContentViewUtil {
private ContentViewUtil() {
}
public static long createNativeWebContents(boolean incognito) {
return nativeCreateNativeWebContents(incognito, false);
}
public static long createNativeWebContents(boolean incognito, boolean initiallyHidden) {
return nativeCreateNativeWebContents(incognito, initiallyHidden);
}
public static void destroyNativeWebContents(long webContentsPtr) {
nativeDestroyNativeWebContents(webContentsPtr);
}
private static native long nativeCreateNativeWebContents(boolean incognito,
boolean initiallyHidden);
private static native void nativeDestroyNativeWebContents(long webContentsPtr);
}