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

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: rebase + fix the test_runner 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e00498e4bbb2bd2b30aaec079588038cdafe1b54..4216c8d712945a6a36745e55de4430040dbdf8bf 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2824,6 +2824,10 @@ bool WebContentsImpl::OnMessageReceived(RenderFrameHost* render_frame_host,
return OnMessageReceived(NULL, render_frame_host, message);
}
+const GURL& WebContentsImpl::GetMainFrameLastCommittedURL() const {
+ return GetLastCommittedURL();
+}
+
void WebContentsImpl::RenderFrameCreated(RenderFrameHost* render_frame_host) {
// Note this is only for subframes, the notification for the main frame
// happens in RenderViewCreated.
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698