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

Unified Diff: chrome/browser/tab_contents/tab_contents.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
Index: chrome/browser/tab_contents/tab_contents.h
===================================================================
--- chrome/browser/tab_contents/tab_contents.h (revision 26649)
+++ chrome/browser/tab_contents/tab_contents.h (working copy)
@@ -82,6 +82,7 @@
class Profile;
struct RendererPreferences;
class RenderViewHost;
+struct RenderViewHostSwitchedDetails;
class TabContentsDelegate;
class TabContentsFactory;
class SkBitmap;
@@ -173,7 +174,8 @@
TabContentsView* view() const {
return view_.get();
}
-
+ void NotifyRenderViewHostSwitchedFromRenderManager(
+ RenderViewHostSwitchedDetails*details);
#ifdef UNIT_TEST
// Expose the render manager for testing.
RenderViewHostManager* render_manager() { return &render_manager_; }
@@ -920,9 +922,15 @@
RenderViewGone(render_view_host);
}
virtual void UpdateRenderViewSizeForRenderManager();
+
+ virtual Profile* GetProfileForRenderManager()const {
+ return profile();
+ }
+
virtual void NotifySwappedFromRenderManager() {
NotifySwapped();
}
+ virtual NavigationEntry* GetEntryAtOffsetForRenderManager(int offset);
virtual NavigationController& GetControllerForRenderManager() {
return controller();
}
« no previous file with comments | « chrome/browser/tab_contents/render_view_host_manager.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698