Merge "Rename WebResourceRequest.hasUserGestureInsecure to hasGesture." into lmp-dev

This commit is contained in:
Marcin Kosiba
2014-09-05 15:13:39 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 1 deletions

View File

@@ -36539,6 +36539,7 @@ package android.webkit {
method public abstract java.lang.String getMethod();
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();
}

View File

@@ -41,7 +41,7 @@ public interface WebResourceRequest {
boolean isForMainFrame();
/**
* Gets whether a gesture was associated with the request.
* 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
@@ -49,6 +49,11 @@ public interface WebResourceRequest {
*
* @return whether a gesture was associated with the request.
*/
boolean hasGesture();
/*
* @removed
*/
boolean hasUserGestureInsecure();
/**