Commit 02f97e3c authored by Tim Song's avatar Tim Song Committed by Commit Bot

Ash Tray: Disable animation for status area overflow button.

The status area collapse/expand animation is currently unspec'd, so skip the
animation for now.

TEST=manually verified with --force-status-area-collapsible flag
BUG=982511

Change-Id: Idaa95fd9a2393d668ad7d154663fc1e876c184d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1903937Reviewed-by: default avatarTetsui Ohkubo <tetsui@chromium.org>
Commit-Queue: Tim Song <tengs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714696}
parent d3e1b119
...@@ -52,6 +52,10 @@ void StatusAreaOverflowButtonTray::IconView::ToggleState(State state) { ...@@ -52,6 +52,10 @@ void StatusAreaOverflowButtonTray::IconView::ToggleState(State state) {
slide_animation_->Show(); slide_animation_->Show();
else if (state == CLICK_TO_COLLAPSE) else if (state == CLICK_TO_COLLAPSE)
slide_animation_->Hide(); slide_animation_->Hide();
// TODO(tengs): Currently, the collpase/expand animation is not fully spec'd,
// so skip it for now.
slide_animation_->End();
} }
void StatusAreaOverflowButtonTray::IconView::AnimationEnded( void StatusAreaOverflowButtonTray::IconView::AnimationEnded(
......
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