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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // No interstitial page should already be attached. 146 // No interstitial page should already be attached.
147 void AttachInterstitialPage(InterstitialPageImpl* interstitial_page); 147 void AttachInterstitialPage(InterstitialPageImpl* interstitial_page);
148 148
149 // Unsets the currently showing interstitial. 149 // Unsets the currently showing interstitial.
150 void DetachInterstitialPage(); 150 void DetachInterstitialPage();
151 151
152 #if defined(OS_ANDROID) 152 #if defined(OS_ANDROID)
153 JavaBridgeDispatcherHostManager* java_bridge_dispatcher_host_manager() const { 153 JavaBridgeDispatcherHostManager* java_bridge_dispatcher_host_manager() const {
154 return java_bridge_dispatcher_host_manager_.get(); 154 return java_bridge_dispatcher_host_manager_.get();
155 } 155 }
156
157 // 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
158 // navigation entry, this allows Android WebViews to use
159 // javascript: URLs that load into the DOMWindow before the first page
160 // load. This is not safe to do in any context that a web page could get a
161 // reference to the DOMWindow before the first page load.
162 bool CreateRenderViewForInitialEmptyDocument();
156 #endif 163 #endif
157 164
158 // Expose the render manager for testing. 165 // Expose the render manager for testing.
159 RenderViewHostManager* GetRenderManagerForTesting(); 166 RenderViewHostManager* GetRenderManagerForTesting();
160 167
161 // Returns guest browser plugin object, or NULL if this WebContents is not a 168 // Returns guest browser plugin object, or NULL if this WebContents is not a
162 // guest. 169 // guest.
163 BrowserPluginGuest* GetBrowserPluginGuest() const; 170 BrowserPluginGuest* GetBrowserPluginGuest() const;
164 171
165 // Sets a BrowserPluginGuest object for this WebContents. If this WebContents 172 // Sets a BrowserPluginGuest object for this WebContents. If this WebContents
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 // Maps the ids of pending image downloads to their callbacks 963 // Maps the ids of pending image downloads to their callbacks
957 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; 964 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap;
958 ImageDownloadMap image_download_map_; 965 ImageDownloadMap image_download_map_;
959 966
960 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 967 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
961 }; 968 };
962 969
963 } // namespace content 970 } // namespace content
964 971
965 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 972 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698