This source file includes following definitions.
- create
package org.chromium.components.navigation_interception;
import org.chromium.base.CalledByNative;
public class NavigationParams {
public final String url;
public final boolean isPost;
public final boolean hasUserGesture;
public final int pageTransitionType;
public final boolean isRedirect;
public NavigationParams(String url, boolean isPost, boolean hasUserGesture,
int pageTransitionType, boolean isRedirect) {
this.url = url;
this.isPost = isPost;
this.hasUserGesture = hasUserGesture;
this.pageTransitionType = pageTransitionType;
this.isRedirect = isRedirect;
}
@CalledByNative
public static NavigationParams create(String url, boolean isPost, boolean hasUserGesture,
int pageTransitionType, boolean isRedirect) {
return new NavigationParams(url, isPost, hasUserGesture, pageTransitionType,
isRedirect);
}
}