diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 18:09:37 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 18:09:37 +0000 |
commit | 8030f01f1f6e77e0ba72c591680a546da82f21f9 (patch) | |
tree | f643e742dcc2ccca5da232c1c7d6964b20a79090 /chrome/test | |
parent | cdacb88cb3d3b11f21caae229816a68cab3170b2 (diff) | |
download | chromium_src-8030f01f1f6e77e0ba72c591680a546da82f21f9.zip chromium_src-8030f01f1f6e77e0ba72c591680a546da82f21f9.tar.gz chromium_src-8030f01f1f6e77e0ba72c591680a546da82f21f9.tar.bz2 |
Makes it so that you shouldn't be able to get a big fat bookmark
bar. This happened because when we changed from needing a
bookmarkbar/extension-shelf to not needing one we processed the layout
change asynchronously, but could paint immediately and painting always
checks the current state. I initially made painting/layout stay in
sync with regards to whether they thought the bookmark bar should be
shown, which also fixes this, but because we process the change async
there was still some noticable jank. Instead I've changed processing
of the transition from needing bars to not (or vice-versa) to be
synchronous.
BUG=22165
TEST=see bug
Review URL: http://codereview.chromium.org/219034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27218 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/test_browser_window.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/test/test_browser_window.h b/chrome/test/test_browser_window.h index f9cf838..636e951 100644 --- a/chrome/test/test_browser_window.h +++ b/chrome/test/test_browser_window.h @@ -34,6 +34,7 @@ class TestBrowserWindow : public BrowserWindow { virtual void SelectedTabToolbarSizeChanged(bool is_animating) {} virtual void SelectedTabExtensionShelfSizeChanged() {} virtual void UpdateTitleBar() {} + virtual void ShelfVisibilityChanged() {} virtual void UpdateDevTools() {} virtual void FocusDevTools() {} virtual void UpdateLoadingAnimations(bool should_animate) {} |