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

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

Issue 9015022: Replace most of Browser::GetSelectedTabContents calls into Browser::GetSelectedWebContents. I've ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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_delegate.h
===================================================================
--- chrome/browser/sessions/tab_restore_service_delegate.h (revision 116109)
+++ chrome/browser/sessions/tab_restore_service_delegate.h (working copy)
@@ -16,6 +16,10 @@
class TabContents;
class TabNavigation;
+namespace content {
+class WebContents;
+}
+
// Objects implement this interface to provide necessary functionality for
// TabRestoreService to operate. These methods are mostly copies of existing
// Browser methods.
@@ -35,7 +39,7 @@
// see Browser methods with the same names
virtual TabContents* GetTabContentsAt(int index) const = 0;
- virtual TabContents* GetSelectedTabContents() const = 0;
+ virtual content::WebContents* GetSelectedWebContents() const = 0;
virtual bool IsTabPinned(int index) const = 0;
virtual TabContents* AddRestoredTab(
const std::vector<TabNavigation>& navigations,
« no previous file with comments | « chrome/browser/sessions/tab_restore_service.cc ('k') | chrome/browser/speech/speech_input_bubble_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698