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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.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_app.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
index 37d250925992bcb840826881d8544564026700e9..dcba92806e6ff8e5dc52f03afd5d8e10fbafdf19 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
@@ -429,7 +429,7 @@ void ChromeLauncherControllerPerApp::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);
@@ -1056,7 +1056,7 @@ ash::LauncherID ChromeLauncherControllerPerApp::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