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

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

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
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 f7a615961d5624a017a402eb4b674784d0cd9a4a..78e7f2a9e2219bd174a3ff17e2bddbcbe42b11bd 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -186,6 +186,9 @@ class CONTENT_EXPORT WebContentsImpl
virtual NavigationControllerImpl& GetController() OVERRIDE;
virtual const NavigationControllerImpl& GetController() const OVERRIDE;
virtual BrowserContext* GetBrowserContext() const OVERRIDE;
+ virtual const GURL& GetURL() const OVERRIDE;
+ virtual const GURL& GetVisibleURL() const OVERRIDE;
+ virtual const GURL& GetLastCommittedURL() const OVERRIDE;
virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE;
virtual RenderFrameHost* GetMainFrame() OVERRIDE;
virtual RenderFrameHost* GetFocusedFrame() OVERRIDE;
@@ -303,6 +306,7 @@ class CONTENT_EXPORT WebContentsImpl
// RenderFrameHostDelegate ---------------------------------------------------
virtual bool OnMessageReceived(RenderFrameHost* render_frame_host,
const IPC::Message& message) OVERRIDE;
+ virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE;
virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE;
virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) OVERRIDE;
virtual void DidStartLoading(RenderFrameHost* render_frame_host,
@@ -318,9 +322,6 @@ class CONTENT_EXPORT WebContentsImpl
virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE;
virtual bool OnMessageReceived(RenderViewHost* render_view_host,
const IPC::Message& message) OVERRIDE;
- virtual const GURL& GetURL() const OVERRIDE;
- virtual const GURL& GetVisibleURL() const OVERRIDE;
- virtual const GURL& GetLastCommittedURL() const OVERRIDE;
// RenderFrameHostDelegate has the same method, so list it there because this
// interface is going away.
// virtual WebContents* GetAsWebContents() OVERRIDE;
« no previous file with comments | « content/browser/renderer_host/render_view_host_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