Chromium Code Reviews| Index: android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java |
| diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java b/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java |
| index 34e6ca515336224ee93be5ad915c4b4a3b27dda0..9ef2cf51e8da8ab40af9ded0a5ec73a1b9fbae6b 100644 |
| --- a/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java |
| +++ b/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java |
| @@ -21,6 +21,7 @@ import org.chromium.android_webview.AwHttpAuthHandler; |
| import org.chromium.android_webview.InterceptedRequestData; |
| import org.chromium.android_webview.JsPromptResultReceiver; |
| import org.chromium.android_webview.JsResultReceiver; |
| +import org.chromium.android_webview.permission.AwPermissionRequest; |
| import org.chromium.base.ThreadUtils; |
| /** |
| @@ -196,4 +197,12 @@ public class NullContentsClient extends AwContentsClient { |
| public Bitmap getDefaultVideoPoster() { |
| return null; |
| } |
| + |
| + @Override |
| + public void onPermissionRequest(AwPermissionRequest awPermissionRequest) { |
|
benm (inactive)
2014/04/16 14:51:10
i think we want to deny in this default implementa
michaelbai
2014/04/22 20:53:51
Done.
|
| + } |
| + |
| + @Override |
| + public void onPermissionRequestCanceled(AwPermissionRequest awPermissionRequest) { |
| + } |
| } |