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

Unified Diff: chrome/browser/tabs/tab_finder.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
« no previous file with comments | « chrome/browser/tab_contents/web_drag_source_win.cc ('k') | chrome/browser/tabs/tab_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tabs/tab_finder.h
===================================================================
--- chrome/browser/tabs/tab_finder.h (revision 116109)
+++ chrome/browser/tabs/tab_finder.h (working copy)
@@ -18,7 +18,6 @@
class Browser;
class GURL;
-class TabContents;
namespace content {
class WebContents;
@@ -42,9 +41,9 @@
// Returns the tab that matches the specified url. If a tab is found the
// browser containing the tab is set in |existing_browser|. This searches
// in |browser| first before checking any other browsers.
- TabContents* FindTab(Browser* browser,
- const GURL& url,
- Browser** existing_browser);
+ content::WebContents* FindTab(Browser* browser,
+ const GURL& url,
+ Browser** existing_browser);
// content::NotificationObserver overrides:
virtual void Observe(int type,
@@ -64,7 +63,7 @@
// Forwarded from WebContentsObserverImpl.
void DidNavigateAnyFrame(
- content::WebContents* source,
+ content::WebContents* source,
const content::LoadCommittedDetails& details,
const content::FrameNavigateParams& params);
@@ -74,13 +73,13 @@
// Returns the first tab in the specified browser that matches the specified
// url. Returns NULL if there are no tabs matching the specified url.
- TabContents* FindTabInBrowser(Browser* browser, const GURL& url);
+ content::WebContents* FindTabInBrowser(Browser* browser, const GURL& url);
// If we're not currently tracking |tab| this creates a
// WebContentsObserverImpl to listen for navigations.
void TrackTab(content::WebContents* tab);
- // Invoked when a TabContents is being destroyed.
+ // Invoked when a WebContents is being destroyed.
void TabDestroyed(WebContentsObserverImpl* observer);
// Cancels any pending requests for the specified tabs redirect chain.
« no previous file with comments | « chrome/browser/tab_contents/web_drag_source_win.cc ('k') | chrome/browser/tabs/tab_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698