diff options
author | simonrad@chromium.org <simonrad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 04:25:37 +0000 |
---|---|---|
committer | simonrad@chromium.org <simonrad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 04:25:37 +0000 |
commit | b471ea7028c28eb6b192de34717f3d20c34c2165 (patch) | |
tree | 50808eb6e7f58602fb2ffebd5c383716f5ccb411 /views/examples | |
parent | 3f15c373428b52a36ed443c04fd3273013c36d12 (diff) | |
download | chromium_src-b471ea7028c28eb6b192de34717f3d20c34c2165.zip chromium_src-b471ea7028c28eb6b192de34717f3d20c34c2165.tar.gz chromium_src-b471ea7028c28eb6b192de34717f3d20c34c2165.tar.bz2 |
Fix find bar scrolling with the page after switching back to tab.
We need to do a BrowserView::Layout() (which updates things like the bookmarks bar and the find bar) both in between the TabContents detach/attach AND after the final attach. This way, we toggle the bookmarks bar at the right time, but we still end up setting the find bar properly.
R=beng
BUG=27960
TEST=Navigate to a page where you can see the vertical scroll bar. Press Ctrl+F to open the find bar. Switch to another tab and then back to the original tab. Scroll down/up the page. The find bar should stay in place, not scroll with the page or disappear.
Review URL: http://codereview.chromium.org/397036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32284 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/examples')
0 files changed, 0 insertions, 0 deletions