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

Unified Diff: chrome/browser/tab_contents/render_view_host_manager.h

Issue 208040: Remove all direct references to NavigationController from the RenderViewHostM... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « AUTHORS ('k') | chrome/browser/tab_contents/render_view_host_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_host_manager.h
===================================================================
--- chrome/browser/tab_contents/render_view_host_manager.h (revision 26649)
+++ chrome/browser/tab_contents/render_view_host_manager.h (working copy)
@@ -19,6 +19,7 @@
class Profile;
class RenderWidgetHostView;
class SiteInstance;
+struct RenderViewHostSwitchedDetails;
// Manages RenderViewHosts for a TabContents. Normally there is only one and
// it is easy to do. But we can also have transitions of processes (and hence
@@ -37,6 +38,9 @@
// "RenderManager" so that the duplicate implementation of them will be clear.
class Delegate {
public:
+ virtual Profile* GetProfileForRenderManager() const = 0;
+ virtual NavigationEntry* GetEntryAtOffsetForRenderManager(
+ int offset) = 0;
// See tab_contents.h's implementation for more.
virtual bool CreateRenderViewForRenderManager(
RenderViewHost* render_view_host) = 0;
@@ -48,7 +52,8 @@
RenderViewHost* render_view_host) = 0;
virtual void UpdateRenderViewSizeForRenderManager() = 0;
virtual void NotifySwappedFromRenderManager() = 0;
- virtual NavigationController& GetControllerForRenderManager() = 0;
+ virtual void NotifyRenderViewHostSwitchedFromRenderManager(
+ RenderViewHostSwitchedDetails*) = 0;
// Creates a DOMUI object for the given URL if one applies. Ownership of the
// returned pointer will be passed to the caller. If no DOMUI applies,
« no previous file with comments | « AUTHORS ('k') | chrome/browser/tab_contents/render_view_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698