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

Unified Diff: chrome/browser/ui/browser_toolbar_model_delegate.cc

Issue 10702029: Move tab functions off Browser into browser_tabstrip and browser_tabrestore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/ui/browser_tabstrip.cc ('k') | chrome/browser/ui/browser_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_toolbar_model_delegate.cc
===================================================================
--- chrome/browser/ui/browser_toolbar_model_delegate.cc (revision 145001)
+++ chrome/browser/ui/browser_toolbar_model_delegate.cc (working copy)
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/browser_toolbar_model_delegate.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_tabstrip.h"
BrowserToolbarModelDelegate::BrowserToolbarModelDelegate(Browser* browser)
: browser_(browser) {
@@ -15,5 +16,5 @@
content::WebContents*
BrowserToolbarModelDelegate::GetActiveWebContents() const {
- return browser_->GetActiveWebContents();
+ return chrome::GetActiveWebContents(browser_);
}
« no previous file with comments | « chrome/browser/ui/browser_tabstrip.cc ('k') | chrome/browser/ui/browser_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698