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

Unified Diff: content/public/browser/render_frame_host.h

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 | « content/browser/frame_host/render_frame_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
index 49baa59a8392a7ccb6813f7eefa6efaa1d491158..f88e9f03533636750e20c80646bf49c6859a876c 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -66,6 +66,11 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
// is present only to support Android WebView and must not be used in other
// configurations.
static void AllowInjectingJavaScriptForAndroidWebView();
+
+ // Temporary hack to enable data URLs on Android Webview until PlzNavigate
+ // ships.
+ static void AllowDataUrlNavigationForAndroidWebView();
+ static bool IsDataUrlNavigationAllowedForAndroidWebView();
#endif
// Returns a RenderFrameHost given its accessibility tree ID.
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698