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

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

Issue 217183004: Migrate addMessageToConsole API to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 005f768b03d5a7a96b142c11a1f9da432a710323..1b13fa4f14890fbcf22760f161a2e56a35bc1368 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2806,6 +2806,10 @@ bool WebContentsImpl::OnMessageReceived(RenderFrameHost* render_frame_host,
return OnMessageReceived(NULL, render_frame_host, message);
}
+const GURL& WebContentsImpl::GetMainFrameVisibleURL() const {
+ return GetVisibleURL();
+}
+
void WebContentsImpl::RenderFrameCreated(RenderFrameHost* render_frame_host) {
// Note this is only for subframes, the notification for the main frame
// happens in RenderViewCreated.

Powered by Google App Engine
This is Rietveld 408576698