| 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,
|
|
|