Chromium Code Reviews| 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 5f0766882ccc813c9447f0dd0865045b447e417c..850e0225324d2d8e82633d14bd6802fd6a1bbf4d 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 |
|
Charlie Reis
2013/08/22 00:09:53
Wording nits in the first sentence:
In Android We
|
| + // 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. |