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

Unified Diff: chrome/browser/views/infobars/infobars.cc

Issue 1961001: Refactors animation to allow for cleaner subclassing. I'm doing this (Closed)
Patch Set: Incorporated review feedback Created 10 years, 8 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 | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/infobars/translate_infobars.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/infobars/infobars.cc
diff --git a/chrome/browser/views/infobars/infobars.cc b/chrome/browser/views/infobars/infobars.cc
index dd4354ebc6f169d976e0a39b38ea6b7fc1ec7899..ead3d974d598037e92551b0f8ec14cdc5db1340d 100644
--- a/chrome/browser/views/infobars/infobars.cc
+++ b/chrome/browser/views/infobars/infobars.cc
@@ -136,7 +136,7 @@ InfoBar::InfoBar(InfoBarDelegate* delegate)
AddChildView(close_button_);
animation_.reset(new SlideAnimation(this));
- animation_->SetTweenType(SlideAnimation::NONE);
+ animation_->SetTweenType(Tween::LINEAR);
}
InfoBar::~InfoBar() {
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/infobars/translate_infobars.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698