Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java

Issue 239793002: Handle media access permission request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
+ }
}

Powered by Google App Engine
This is Rietveld 408576698