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

Unified Diff: chrome/browser/sessions/tab_restore_service.h

Issue 8983010: Convert WebContents to return a content::NavigationController instead of the implementation. Upda... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 12 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/sessions/tab_restore_service.h
===================================================================
--- chrome/browser/sessions/tab_restore_service.h (revision 116232)
+++ chrome/browser/sessions/tab_restore_service.h (working copy)
@@ -19,12 +19,15 @@
#include "content/browser/in_process_webkit/session_storage_namespace.h"
#include "webkit/glue/window_open_disposition.h"
-class NavigationController;
class Profile;
class TabRestoreServiceDelegate;
class TabRestoreServiceObserver;
struct SessionWindow;
+namespace content {
+class NavigationController;
+}
+
// TabRestoreService is responsible for maintaining the most recently closed
// tabs and windows. When a tab is closed
// TabRestoreService::CreateHistoricalTab is invoked and a Tab is created to
@@ -130,7 +133,7 @@
// Creates a Tab to represent |tab| and notifies observers the list of
// entries has changed.
- void CreateHistoricalTab(NavigationController* tab, int index);
+ void CreateHistoricalTab(content::NavigationController* tab, int index);
// Invoked when a browser is closing. If |delegate| is a tabbed browser with
// at least one tab, a Window is created, added to entries and observers are
@@ -204,7 +207,7 @@
void PopulateTab(Tab* tab,
int index,
TabRestoreServiceDelegate* delegate,
- NavigationController* controller);
+ content::NavigationController* controller);
// Notifies observers the tabs have changed.
void NotifyTabsChanged();

Powered by Google App Engine
This is Rietveld 408576698