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

Unified Diff: chrome/browser/ui/views/toolbar_view.cc

Issue 11416042: views: Change the LocationBarView delegate's API to GetWebContents(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Created 8 years, 1 month 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/ui/views/toolbar_view.cc
diff --git a/chrome/browser/ui/views/toolbar_view.cc b/chrome/browser/ui/views/toolbar_view.cc
index 89e9c7d35846c8a182b55d6870c21409d67fef76..55475ebc8606459b0fdccca3dcc95c1c026264eb 100644
--- a/chrome/browser/ui/views/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar_view.cc
@@ -449,8 +449,8 @@ void ToolbarView::OnMenuButtonClicked(views::View* source,
////////////////////////////////////////////////////////////////////////////////
// ToolbarView, LocationBarView::Delegate implementation:
-TabContents* ToolbarView::GetTabContents() const {
- return chrome::GetActiveTabContents(browser_);
+content::WebContents* ToolbarView::GetWebContents() const {
+ return chrome::GetActiveWebContents(browser_);
}
InstantController* ToolbarView::GetInstant() {

Powered by Google App Engine
This is Rietveld 408576698