Loading api/current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -36523,7 +36523,6 @@ package android.webkit { method public abstract java.util.Map<java.lang.String, java.lang.String> getRequestHeaders(); method public abstract android.net.Uri getUrl(); method public abstract boolean hasGesture(); method public abstract boolean hasUserGestureInsecure(); method public abstract boolean isForMainFrame(); } core/java/android/webkit/WebResourceRequest.java +1 −10 Original line number Diff line number Diff line Loading @@ -41,21 +41,12 @@ public interface WebResourceRequest { boolean isForMainFrame(); /** * Gets whether a gesture (such as a link click) was associated with the request. * <p> * <strong>IMPORTANT:</strong> * This should not be used to implement any form of security. It is possible for the content * to spoof this. * Gets whether a gesture (such as a click) was associated with the request. * * @return whether a gesture was associated with the request. */ boolean hasGesture(); /* * @removed */ boolean hasUserGestureInsecure(); /** * Gets the method associated with the request, for example "GET". * Loading Loading
api/current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -36523,7 +36523,6 @@ package android.webkit { method public abstract java.util.Map<java.lang.String, java.lang.String> getRequestHeaders(); method public abstract android.net.Uri getUrl(); method public abstract boolean hasGesture(); method public abstract boolean hasUserGestureInsecure(); method public abstract boolean isForMainFrame(); }
core/java/android/webkit/WebResourceRequest.java +1 −10 Original line number Diff line number Diff line Loading @@ -41,21 +41,12 @@ public interface WebResourceRequest { boolean isForMainFrame(); /** * Gets whether a gesture (such as a link click) was associated with the request. * <p> * <strong>IMPORTANT:</strong> * This should not be used to implement any form of security. It is possible for the content * to spoof this. * Gets whether a gesture (such as a click) was associated with the request. * * @return whether a gesture was associated with the request. */ boolean hasGesture(); /* * @removed */ boolean hasUserGestureInsecure(); /** * Gets the method associated with the request, for example "GET". * Loading