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

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

Issue 9085006: Replace Browser::GetTabContentsAt with GetWebContentsAt and update all callers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac yet again 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
« no previous file with comments | « chrome/browser/sessions/tab_restore_service.cc ('k') | chrome/browser/sidebar/sidebar_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/tab_restore_service_delegate.h
===================================================================
--- chrome/browser/sessions/tab_restore_service_delegate.h (revision 116244)
+++ chrome/browser/sessions/tab_restore_service_delegate.h (working copy)
@@ -12,7 +12,6 @@
class Profile;
class SessionStorageNamespace;
-class TabContents;
class TabNavigation;
namespace content {
@@ -38,10 +37,10 @@
virtual int GetSelectedIndex() const = 0;
// see Browser methods with the same names
- virtual TabContents* GetTabContentsAt(int index) const = 0;
+ virtual content::WebContents* GetWebContentsAt(int index) const = 0;
virtual content::WebContents* GetSelectedWebContents() const = 0;
virtual bool IsTabPinned(int index) const = 0;
- virtual TabContents* AddRestoredTab(
+ virtual content::WebContents* AddRestoredTab(
const std::vector<TabNavigation>& navigations,
int tab_index,
int selected_navigation,
« no previous file with comments | « chrome/browser/sessions/tab_restore_service.cc ('k') | chrome/browser/sidebar/sidebar_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698