Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: athena/home/home_card_impl.cc

Issue 557083002: Relayout to the bottom state even when animating to minimized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/home_card_impl.cc
diff --git a/athena/home/home_card_impl.cc b/athena/home/home_card_impl.cc
index 8c0336f7eb80f5bd058830176eb87df20b1d1b41..0fda598ca37cc4dcadc1a07d087fd491e682b1b8 100644
--- a/athena/home/home_card_impl.cc
+++ b/athena/home/home_card_impl.cc
@@ -172,9 +172,6 @@ class HomeCardView : public views::WidgetDelegateView {
else
GetWidget()->GetFocusManager()->ClearFocus();
- if (state == HomeCard::VISIBLE_MINIMIZED)
- return;
-
main_view_->SetLayoutStateWithAnimation(
(state == HomeCard::VISIBLE_CENTERED) ? 1.0f : 0.0f);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698