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

Unified Diff: chrome/browser/views/tabs/browser_tab_strip_controller.h

Issue 3012042: Revert 54560 - ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 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/views/tabs/browser_tab_strip_controller.h
===================================================================
--- chrome/browser/views/tabs/browser_tab_strip_controller.h (revision 54564)
+++ chrome/browser/views/tabs/browser_tab_strip_controller.h (working copy)
@@ -13,7 +13,6 @@
class BaseTab;
class BaseTabStrip;
-class Browser;
struct TabRendererData;
@@ -23,7 +22,7 @@
public TabStripModelObserver,
public NotificationObserver {
public:
- BrowserTabStripController(Browser* browser, TabStripModel* model);
+ explicit BrowserTabStripController(TabStripModel* model);
virtual ~BrowserTabStripController();
void InitFromModel(BaseTabStrip* tabstrip);
@@ -105,9 +104,6 @@
BaseTabStrip* tabstrip_;
- // Non-owning pointer to the browser which is using this controller.
- Browser* browser_;
-
// If non-NULL it means we're showing a menu for the tab.
scoped_ptr<TabContextMenuContents> context_menu_contents_;
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/tabs/browser_tab_strip_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698