Commit fb0a2206 authored by leiyi.jp@gmail.com's avatar leiyi.jp@gmail.com

When the browser actions container's animation ended, we should set...

When the browser actions container's animation ended, we should set 'suppress_chevron_' to false then re-layout it.

If we keep 'suppress_chevron_' being true and notify to re-layout the toolbar, then finish the animation, because there is no chance to layout toolbar again, some browser action views would not be showed, neither chevron. That makes people puzzled.

TBR=sky
R=finnur@chromium.org
BUG=328307

Review URL: https://codereview.chromium.org/188353002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255371 0039d316-1c4b-4281-b951-d872f2087c98
parent 6aea9a3e
...@@ -450,8 +450,8 @@ void BrowserActionsContainer::AnimationEnded(const gfx::Animation* animation) { ...@@ -450,8 +450,8 @@ void BrowserActionsContainer::AnimationEnded(const gfx::Animation* animation) {
container_width_ = animation_target_size_; container_width_ = animation_target_size_;
animation_target_size_ = 0; animation_target_size_ = 0;
resize_amount_ = 0; resize_amount_ = 0;
OnBrowserActionVisibilityChanged();
suppress_chevron_ = false; suppress_chevron_ = false;
OnBrowserActionVisibilityChanged();
} }
void BrowserActionsContainer::NotifyMenuDeleted( void BrowserActionsContainer::NotifyMenuDeleted(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment