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

Unified Diff: ash/common/system/tray/tray_details_view_unittest.cc

Issue 2698213004: Start removing some pre-md constants and related code. (Closed)
Patch Set: actually use the constant Created 3 years, 10 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 | « ash/common/system/tray/tray_details_view.cc ('k') | ash/common/system/tray/tray_popup_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_details_view_unittest.cc
diff --git a/ash/common/system/tray/tray_details_view_unittest.cc b/ash/common/system/tray/tray_details_view_unittest.cc
index a62f8b64dab09e3e05c643d89959dbc8b2695ad6..e8543c4874d01b81aee0b76ac7bbb5bdbcee3239 100644
--- a/ash/common/system/tray/tray_details_view_unittest.cc
+++ b/ash/common/system/tray/tray_details_view_unittest.cc
@@ -126,8 +126,8 @@ class TrayDetailsViewTest : public AshTestBase {
void TransitionFromDetailedToDefaultView(TestDetailsView* detailed) {
detailed->TransitionToDefaultView();
- scoped_task_runner_->FastForwardBy(base::TimeDelta::FromMilliseconds(
- GetTrayConstant(TRAY_POPUP_TRANSITION_TO_DEFAULT_DELAY)));
+ scoped_task_runner_->FastForwardBy(
+ base::TimeDelta::FromMilliseconds(kTrayDetailedViewTransitionDelayMs));
}
void FocusBackButton(TestDetailsView* detailed) {
« no previous file with comments | « ash/common/system/tray/tray_details_view.cc ('k') | ash/common/system/tray/tray_popup_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698