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

Unified Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_mac2.mm

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/cocoa/constrained_window/constrained_window_mac2.mm
diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac2.mm b/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac2.mm
index 11d1166877c382f98d1e9cd9013c7268f1089ebf..a54ee1f1bbb96bef2f9321cf4ef2f364e9b3becc 100644
--- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac2.mm
+++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac2.mm
@@ -64,7 +64,7 @@ gfx::NativeWindow ConstrainedWindowMac2::GetNativeWindow() {
}
bool ConstrainedWindowMac2::CanShowConstrainedWindow() {
- Browser* browser = browser::FindBrowserWithWebContents(web_contents_);
+ Browser* browser = chrome::FindBrowserWithWebContents(web_contents_);
if (!browser)
return true;
return !browser->window()->IsInstantTabShowing();
@@ -73,7 +73,7 @@ bool ConstrainedWindowMac2::CanShowConstrainedWindow() {
NSWindow* ConstrainedWindowMac2::GetParentWindow() const {
// Tab contents in a tabbed browser may not be inside a window. For this
// reason use a browser window if possible.
- Browser* browser = browser::FindBrowserWithWebContents(web_contents_);
+ Browser* browser = chrome::FindBrowserWithWebContents(web_contents_);
if (browser)
return browser->window()->GetNativeWindow();
« no previous file with comments | « chrome/browser/ui/browser_tab_restore_service_delegate.cc ('k') | chrome/browser/ui/cocoa/constrained_window_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698