From aa9196f459186dd3d1afc5983c33a1b6ae2c6d49 Mon Sep 17 00:00:00 2001 From: "jcampan@chromium.org" Date: Thu, 22 Oct 2009 16:20:27 +0000 Subject: The detached bookmark bar should not show on interstitials. BUG=22060 TEST=See bug. Review URL: http://codereview.chromium.org/306019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29776 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/tab_contents/tab_contents.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index 4faf384..c23e8ba 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -992,6 +992,9 @@ void TabContents::ReplaceInfoBar(InfoBarDelegate* old_delegate, } bool TabContents::ShouldShowBookmarkBar() { + if (showing_interstitial_page()) + return false; + // See GetDOMUIForCurrentState() comment for more info. This case is very // similar, but for non-first loads, we want to use the committed entry. This // is so the bookmarks bar disappears at the same time the page does. -- cgit v1.1