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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.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
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc
index 4248c15399e1525ff75af04ebdbb1ac8a3d61ee8..b72cb255b7a911f671a26c6c3f4326ee9f0e1461 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc
@@ -432,7 +432,7 @@ void ChromeLauncherControllerPerBrowser::ActivateApp(const std::string& app_id,
TabContents* tab = *tab_i;
const GURL tab_url = tab->web_contents()->GetURL();
if (refocus_pattern.MatchesURL(tab_url)) {
- Browser* browser = browser::FindBrowserWithWebContents(
+ Browser* browser = chrome::FindBrowserWithWebContents(
tab->web_contents());
TabStripModel* tab_strip = browser->tab_strip_model();
int index = tab_strip->GetIndexOfTabContents(tab);
@@ -1062,7 +1062,7 @@ ash::LauncherID ChromeLauncherControllerPerBrowser::InsertAppLauncherItem(
TabContents* active_tab = GetLastActiveTabContents(app_id);
if (active_tab) {
- Browser* browser = browser::FindBrowserWithWebContents(
+ Browser* browser = chrome::FindBrowserWithWebContents(
active_tab->web_contents());
DCHECK(browser);
if (browser->window()->IsActive())

Powered by Google App Engine
This is Rietveld 408576698