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

Unified Diff: chrome/browser/ui/browser_list.h

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/ui/browser.cc ('k') | chrome/browser/ui/browser_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_list.h
===================================================================
--- chrome/browser/ui/browser_list.h (revision 116011)
+++ chrome/browser/ui/browser_list.h (working copy)
@@ -13,8 +13,6 @@
#include "chrome/browser/ui/browser.h"
#include "ui/gfx/native_widget_types.h"
-class TabContents;
-
// Stores a list of all Browser objects.
class BrowserList {
public:
@@ -100,9 +98,10 @@
// Find the browser represented by |window| or NULL if not found.
static Browser* FindBrowserWithWindow(gfx::NativeWindow window);
- // Find the browser containing |tab_contents| or NULL if none is found.
- // |tab_contents| must not be NULL.
- static Browser* FindBrowserWithTabContents(TabContents* tab_contents);
+ // Find the browser containing |web_contents| or NULL if none is found.
+ // |web_contents| must not be NULL.
+ static Browser* FindBrowserWithWebContents(
+ content::WebContents* web_contents);
// Checks if the browser can be automatically restarted to install upgrades
// The browser can be automatically restarted when:
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698