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

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

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/system_tray_item.cc ('k') | ash/common/system/tray/tray_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 29665ae75e23702d4bb71d3a7e4ff0010d93d574..87f6175bcdb97756c8f3209362980e99e31b1333 100644
--- a/ash/common/system/tray/tray_constants.h
+++ b/ash/common/system/tray/tray_constants.h
@@ -48,6 +48,10 @@ extern const int kTrayPopupButtonEndMargin;
// in the system menu.
extern const int kTrayPopupLabelHorizontalPadding;
+// When transitioning between a detailed and a default view, this delay is used
+// before the transition starts.
+ASH_EXPORT extern const int kTrayDetailedViewTransitionDelayMs;
+
// Padding used to adjust the slider position in volume row and brightness
// row horizontally.
extern const int kTrayPopupSliderPaddingMD;
@@ -143,9 +147,6 @@ enum TrayConstant {
// borders on tray items.
TRAY_ITEM_HEIGHT_LEGACY,
- // Padding between items in the status tray area.
- TRAY_SPACING,
-
// Padding between the edge of shelf and the item in status tray area.
TRAY_PADDING_FROM_EDGE_OF_SHELF,
@@ -168,21 +169,12 @@ enum TrayConstant {
// The left inset for all tray system menu rows.
TRAY_POPUP_ITEM_LEFT_INSET,
- // The right inset for all tray system menu rows.
- TRAY_POPUP_ITEM_RIGHT_INSET,
-
// The minimum default width for the left container of the system menu rows.
TRAY_POPUP_ITEM_MIN_START_WIDTH,
// 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
« no previous file with comments | « ash/common/system/tray/system_tray_item.cc ('k') | ash/common/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698