WebViewClientBoundaryInterface

interface WebViewClientBoundaryInterface implements FeatureFlagHolderBoundaryInterface

Known direct subclasses

Boundary interface for WebViewClientCompat.

Summary

Public methods

abstract @NonNull void
abstract @NonNull void
onReceivedError(
    @NonNull WebView view,
    @NonNull WebResourceRequest request,
    @NonNull InvocationHandler error
)
abstract @NonNull void
onReceivedHttpError(
    @NonNull WebView view,
    @NonNull WebResourceRequest request,
    @NonNull WebResourceResponse errorResponse
)
abstract @NonNull void
onSafeBrowsingHit(
    @NonNull WebView view,
    @NonNull WebResourceRequest request,
    @NonNull int threatType,
    @NonNull InvocationHandler callback
)
abstract @NonNull boolean

Inherited methods

From class FeatureFlagHolderBoundaryInterface
abstract @NonNull Array<@NonNull String>

Indicate the list of org.chromium.support_lib_boundary.util.Features supported by this object.

Public methods

onPageCommitVisible

@NonNull
public abstract void onPageCommitVisible(@NonNull WebView view, @NonNull String url)

onReceivedError

@NonNull
public abstract void onReceivedError(
    @NonNull WebView view,
    @NonNull WebResourceRequest request,
    @NonNull InvocationHandler error
)

onReceivedHttpError

@NonNull
public abstract void onReceivedHttpError(
    @NonNull WebView view,
    @NonNull WebResourceRequest request,
    @NonNull WebResourceResponse errorResponse
)

onSafeBrowsingHit

@NonNull
public abstract void onSafeBrowsingHit(
    @NonNull WebView view,
    @NonNull WebResourceRequest request,
    @NonNull int threatType,
    @NonNull InvocationHandler callback
)

shouldOverrideUrlLoading

@NonNull
public abstract boolean shouldOverrideUrlLoading(
    @NonNull WebView view,
    @NonNull WebResourceRequest request
)