diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 16:20:27 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 16:20:27 +0000 |
commit | aa9196f459186dd3d1afc5983c33a1b6ae2c6d49 (patch) | |
tree | 2c16a0e9d608488b341fdcbf480de9684d5c1815 /chrome | |
parent | af87d5b0f0bd21e4681ea9e1798bd9fb5b9ee83f (diff) | |
download | chromium_src-aa9196f459186dd3d1afc5983c33a1b6ae2c6d49.zip chromium_src-aa9196f459186dd3d1afc5983c33a1b6ae2c6d49.tar.gz chromium_src-aa9196f459186dd3d1afc5983c33a1b6ae2c6d49.tar.bz2 |
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
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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. |