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

Unified Diff: android_webview/renderer/aw_permission_client.cc

Issue 216983003: Chrome side changes to removing WebFrame parameter from WebPermissionClient, since it's redundant n… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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/renderer/aw_permission_client.cc
===================================================================
--- android_webview/renderer/aw_permission_client.cc (revision 260883)
+++ android_webview/renderer/aw_permission_client.cc (working copy)
@@ -37,7 +37,7 @@
bool enabled_per_settings,
const blink::WebSecurityOrigin& origin,
const blink::WebURL& url) {
- return enabled_per_settings ? true : AllowMixedContent(url);
+ return allowDisplayingInsecureContent(enabled_per_settings, origin, url);
}
bool AwPermissionClient::allowRunningInsecureContent(
@@ -45,7 +45,21 @@
bool enabled_per_settings,
const blink::WebSecurityOrigin& origin,
const blink::WebURL& url) {
+ return allowRunningInsecureContent(enabled_per_settings, origin, url);
+}
+
+bool AwPermissionClient::allowDisplayingInsecureContent(
+ bool enabled_per_settings,
+ const blink::WebSecurityOrigin& origin,
+ const blink::WebURL& url) {
return enabled_per_settings ? true : AllowMixedContent(url);
}
+bool AwPermissionClient::allowRunningInsecureContent(
+ bool enabled_per_settings,
+ const blink::WebSecurityOrigin& origin,
+ const blink::WebURL& url) {
+ return enabled_per_settings ? true : AllowMixedContent(url);
+}
+
} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698