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

Unified Diff: ash/common/system/tray/tray_constants.h

Issue 2494943005: [ash-md] Added a delay between system menu default/detailed view transitions. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: ash/common/system/tray/tray_constants.h
diff --git a/ash/common/system/tray/tray_constants.h b/ash/common/system/tray/tray_constants.h
index 295c004caadda0199aabb46e5f0e17b50acdedb4..d44f502b8b402b2bfee8fc726c94c874eae2c626 100644
--- a/ash/common/system/tray/tray_constants.h
+++ b/ash/common/system/tray/tray_constants.h
@@ -164,6 +164,12 @@ enum TrayConstant {
// The minimum default width for the right container of the system menu rows.
TRAY_POPUP_ITEM_MIN_END_WIDTH,
+ // Duration to delay transitions to the default view.
+ TRAY_POPUP_TRANSITION_TO_DEFAULT_DELAY,
+
+ // Duration to delay transitions to the detailed view.
+ TRAY_POPUP_TRANSITION_TO_DETAILED_DELAY,
+
// The width and height of the virtual keyboard button in the status tray
// area. For non-MD, adjustments are made to the button dimensions based on
// the shelf orientation, so this constant does not specify the true
@@ -177,7 +183,7 @@ enum TrayConstant {
TRAY_IMAGE_ITEM_PADDING,
};
-int GetTrayConstant(TrayConstant constant);
+ASH_EXPORT int GetTrayConstant(TrayConstant constant);
namespace test {
const int kSettingsTrayItemViewId = 10000;

Powered by Google App Engine
This is Rietveld 408576698