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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 11434074: browser: Move FindBrowserWithWebContents() into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index 9c850d6c4844459f11ed09435cfa3156e5910556..ee59f1810df80d6c187de363f216dcd40eb08c02 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -102,7 +102,7 @@ namespace {
Browser* GetBrowserFromDelegate(LocationBarView::Delegate* delegate) {
WebContents* contents = delegate->GetWebContents();
- return browser::FindBrowserWithWebContents(contents);
+ return chrome::FindBrowserWithWebContents(contents);
}
// Height of the location bar's round corner region.
@@ -1226,7 +1226,7 @@ void LocationBarView::RefreshPageActionViews() {
}
if (!page_action_views_.empty() && contents) {
- Browser* browser = browser::FindBrowserWithWebContents(contents);
+ Browser* browser = chrome::FindBrowserWithWebContents(contents);
GURL url = chrome::GetActiveWebContents(browser)->GetURL();
for (PageActionViews::const_iterator i(page_action_views_.begin());
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698