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

Unified Diff: chrome/browser/ui/panels/panel_overflow_strip.cc

Issue 8892020: Make Panel tests faster by reducing time intervals in tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/ui/panels/panel_manager.cc ('k') | chrome/browser/ui/panels/panel_slide_animation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_overflow_strip.cc
diff --git a/chrome/browser/ui/panels/panel_overflow_strip.cc b/chrome/browser/ui/panels/panel_overflow_strip.cc
index 80bb3de3803ccb426bfd64ff16041b5a2d783144..e145e1cdbf96a1691cbd71f9d39c3f891631e2cb 100644
--- a/chrome/browser/ui/panels/panel_overflow_strip.cc
+++ b/chrome/browser/ui/panels/panel_overflow_strip.cc
@@ -197,7 +197,8 @@ void PanelOverflowStrip::ShowOverflowTitles(bool show_overflow_titles) {
overflow_hover_animator_.reset(new ui::SlideAnimation(this));
if (overflow_hover_animator_->IsShowing())
overflow_hover_animator_->Reset();
- overflow_hover_animator_->SetSlideDuration(kOverflowHoverAnimationMs);
+ overflow_hover_animator_->SetSlideDuration(
+ PanelManager::AdjustTimeInterval(kOverflowHoverAnimationMs));
overflow_hover_animator_->Show();
}
« no previous file with comments | « chrome/browser/ui/panels/panel_manager.cc ('k') | chrome/browser/ui/panels/panel_slide_animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698