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

Unified Diff: android_webview/browser/aw_browser_main_parts.cc

Issue 2969473003: Allow data URL navigations for Android WebView until PlzNavigate ships (Closed)
Patch Set: clamy comments Created 3 years, 5 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
« no previous file with comments | « no previous file | android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_browser_main_parts.cc
diff --git a/android_webview/browser/aw_browser_main_parts.cc b/android_webview/browser/aw_browser_main_parts.cc
index 783142755b166e6b9c0308f0a3692d7400b3bf23..7169e1a9f93b78d77f5d8394ea10af5c5ce2d333 100644
--- a/android_webview/browser/aw_browser_main_parts.cc
+++ b/android_webview/browser/aw_browser_main_parts.cc
@@ -160,6 +160,9 @@ void AwBrowserMainParts::PreMainMessageLoopRun() {
new AwGeolocationDelegate());
content::RenderFrameHost::AllowInjectingJavaScriptForAndroidWebView();
+
+ // TODO(meacer): Remove when PlzNavigate ships.
+ content::RenderFrameHost::AllowDataUrlNavigationForAndroidWebView();
}
bool AwBrowserMainParts::MainMessageLoopRun(int* result_code) {
« no previous file with comments | « no previous file | android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698