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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 23018005: Start renderer in ContentViewCoreImpl::EvaluateJavaScript. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 7 years, 4 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: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index dc0cdac8c0eca571ea2a287386e7b3e2d556fd86..bb56ddba2c1c6a2691a9226af54330e0a2b40a41 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -153,6 +153,13 @@ class CONTENT_EXPORT WebContentsImpl
JavaBridgeDispatcherHostManager* java_bridge_dispatcher_host_manager() const {
return java_bridge_dispatcher_host_manager_.get();
}
+
+ // In Android WebView, the RenderView needs created even there is no
+ // navigation entry, this allows Android WebViews to use
+ // javascript: URLs that load into the DOMWindow before the first page
+ // load. This is not safe to do in any context that a web page could get a
+ // reference to the DOMWindow before the first page load.
+ bool CreateRenderViewForInitialEmptyDocument();
#endif
// Expose the render manager for testing.
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698