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

Side by Side Diff: ash/common/system/tray/tray_constants.cc

Issue 2793153004: [Ash] Remove non-MD code from ImeListView and ImeListItemView (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/common/system/tray/tray_constants.h" 5 #include "ash/common/system/tray/tray_constants.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/skia/include/core/SkColor.h" 8 #include "third_party/skia/include/core/SkColor.h"
9 #include "ui/gfx/color_palette.h" 9 #include "ui/gfx/color_palette.h"
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const int kTrayPopupItemMinEndWidth = 52 const int kTrayPopupItemMinEndWidth =
53 kMenuIconSize + 2 * kTrayPopupButtonEndMargin; 53 kMenuIconSize + 2 * kTrayPopupButtonEndMargin;
54 54
55 const int kTrayDetailedViewTransitionDelayMs = 100; 55 const int kTrayDetailedViewTransitionDelayMs = 100;
56 56
57 const int kTrayPopupLabelRightPadding = 8; 57 const int kTrayPopupLabelRightPadding = 8;
58 58
59 const int kTrayPopupDetailsIconWidth = 25; 59 const int kTrayPopupDetailsIconWidth = 25;
60 const int kTrayPopupDetailsLabelExtraLeftMargin = 8; 60 const int kTrayPopupDetailsLabelExtraLeftMargin = 8;
61 const SkColor kTrayPopupHoverBackgroundColor = SkColorSetRGB(0xe4, 0xe4, 0xe4); 61 const SkColor kTrayPopupHoverBackgroundColor = SkColorSetRGB(0xe4, 0xe4, 0xe4);
62 const int kTrayPopupScrollSeparatorHeight = 15;
63 const int kTrayRoundedBorderRadius = 2; 62 const int kTrayRoundedBorderRadius = 2;
64 63
65 const int kTrayToggleButtonWidth = 68; 64 const int kTrayToggleButtonWidth = 68;
66 65
67 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe); 66 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe);
68 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf3, 0xf3, 0xf3); 67 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf3, 0xf3, 0xf3);
69 const SkColor kPublicAccountUserCardTextColor = SkColorSetRGB(0x66, 0x66, 0x66); 68 const SkColor kPublicAccountUserCardTextColor = SkColorSetRGB(0x66, 0x66, 0x66);
70 const SkColor kPublicAccountUserCardNameColor = SK_ColorBLACK; 69 const SkColor kPublicAccountUserCardNameColor = SK_ColorBLACK;
71 70
72 const SkColor kHeaderBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); 71 const SkColor kHeaderBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5);
73 72
74 const SkColor kBorderDarkColor = SkColorSetRGB(0xaa, 0xaa, 0xaa);
75 const SkColor kBorderLightColor = SkColorSetRGB(0xeb, 0xeb, 0xeb);
76 const SkColor kButtonStrokeColor = SkColorSetRGB(0xdd, 0xdd, 0xdd);
77
78 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0); 73 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0);
79 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); 74 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0);
80 75
81 const int kTrayPopupMinWidth = 300; 76 const int kTrayPopupMinWidth = 300;
82 const int kTrayPopupMaxWidth = 500; 77 const int kTrayPopupMaxWidth = 500;
83 const int kNotificationIconWidth = 40; 78 const int kNotificationIconWidth = 40;
84 const int kNotificationButtonWidth = 32; 79 const int kNotificationButtonWidth = 32;
85 const int kTrayNotificationContentsWidth = 80 const int kTrayNotificationContentsWidth =
86 kTrayPopupMinWidth - (kNotificationIconWidth + kNotificationButtonWidth + 81 kTrayPopupMinWidth - (kNotificationIconWidth + kNotificationButtonWidth +
87 (kTrayPopupPaddingHorizontal / 2) * 3); 82 (kTrayPopupPaddingHorizontal / 2) * 3);
(...skipping 17 matching lines...) Expand all
105 100
106 const SkColor kTrayPopupInkDropBaseColor = SK_ColorBLACK; 101 const SkColor kTrayPopupInkDropBaseColor = SK_ColorBLACK;
107 const float kTrayPopupInkDropRippleOpacity = 0.06f; 102 const float kTrayPopupInkDropRippleOpacity = 0.06f;
108 const float kTrayPopupInkDropHighlightOpacity = 0.08f; 103 const float kTrayPopupInkDropHighlightOpacity = 0.08f;
109 const int kTrayPopupInkDropInset = 4; 104 const int kTrayPopupInkDropInset = 4;
110 const int kTrayPopupInkDropCornerRadius = 2; 105 const int kTrayPopupInkDropCornerRadius = 2;
111 106
112 const int kTrayPopupSystemInfoRowHeight = 40; 107 const int kTrayPopupSystemInfoRowHeight = 40;
113 108
114 } // namespace ash 109 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698