summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-28 23:13:22 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-28 23:13:22 +0000
commit0fc9dca2aae7f778a5a43aee1f898af7d93b15b8 (patch)
tree576e52fe7b0eeb9b5a6ae08842bbf9518a830665 /chrome/browser/browser.cc
parentf7011fcb7f28651953b1765b241c974e25c8cd40 (diff)
downloadchromium_src-0fc9dca2aae7f778a5a43aee1f898af7d93b15b8.zip
chromium_src-0fc9dca2aae7f778a5a43aee1f898af7d93b15b8.tar.gz
chromium_src-0fc9dca2aae7f778a5a43aee1f898af7d93b15b8.tar.bz2
Add browser files to the linux build that mac has already
ported and added to the xcode build. Not much here, seems the earlier porting stuff just works. Review URL: http://codereview.chromium.org/19637 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8832 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 368d61d..2b8641c 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1251,16 +1251,18 @@ void Browser::CreateNewStripWithContents(TabContents* detached_contents,
browser->LoadingStateChanged(detached_contents);
browser->window()->Show();
-#if defined(OS_WIN) || defined(OS_LINUX)
+#if defined(OS_WIN)
// When we detach a tab we need to make sure any associated Find window moves
// along with it to its new home (basically we just make new_window the
// parent of the Find window).
// TODO(brettw) this could probably be improved, see
// WebContentsView::ReparentFindWindow for more.
- // TODO(port): remove the view dependency from this.
WebContents* web_contents = detached_contents->AsWebContents();
if (web_contents)
web_contents->view()->ReparentFindWindow(browser);
+#else
+ // TODO(port): remove the view dependency from this.
+ NOTIMPLEMENTED() << "need to reparent find window";
#endif
}