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

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

Issue 10209038: ash: Add vertical spacing to multi-line text in tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « ash/system/tray/tray_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/system/tray/tray_constants.h" 5 #include "ash/system/tray/tray_constants.h"
6 6
7 #include "third_party/skia/include/core/SkColor.h" 7 #include "third_party/skia/include/core/SkColor.h"
8 8
9 namespace ash { 9 namespace ash {
10 10
11 const int kTrayPopupAutoCloseDelayInSeconds = 2; 11 const int kTrayPopupAutoCloseDelayInSeconds = 2;
12 const int kTrayPopupAutoCloseDelayForTextInSeconds = 5; 12 const int kTrayPopupAutoCloseDelayForTextInSeconds = 5;
13 const int kTrayPopupPaddingHorizontal = 18; 13 const int kTrayPopupPaddingHorizontal = 18;
14 const int kTrayPopupPaddingBetweenItems = 10; 14 const int kTrayPopupPaddingBetweenItems = 10;
15 const int kTrayPopupTextSpacingVertical = 4;
15 16
16 const int kTrayPopupItemHeight = 48; 17 const int kTrayPopupItemHeight = 48;
17 const int kTrayPopupDetailsIconWidth = 27; 18 const int kTrayPopupDetailsIconWidth = 27;
18 const int kTrayRoundedBorderRadius = 2; 19 const int kTrayRoundedBorderRadius = 2;
19 20
20 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe); 21 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe);
21 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); 22 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5);
22 23
23 const SkColor kHeaderBackgroundColor = SkColorSetRGB(0xf1, 0xf1, 0xf1); 24 const SkColor kHeaderBackgroundColor = SkColorSetRGB(0xf1, 0xf1, 0xf1);
24 const SkColor kHeaderHoverBackgroundColor = SkColorSetRGB(0xe1, 0xe1, 0xe1); 25 const SkColor kHeaderHoverBackgroundColor = SkColorSetRGB(0xe1, 0xe1, 0xe1);
25 26
26 const SkColor kBorderDarkColor = SkColorSetARGB(51, 0, 0, 0); 27 const SkColor kBorderDarkColor = SkColorSetARGB(51, 0, 0, 0);
27 const SkColor kBorderLightColor = SkColorSetRGB(0xeb, 0xeb, 0xeb); 28 const SkColor kBorderLightColor = SkColorSetRGB(0xeb, 0xeb, 0xeb);
28 const SkColor kButtonStrokeColor = SkColorSetRGB(0xdd, 0xdd, 0xdd); 29 const SkColor kButtonStrokeColor = SkColorSetRGB(0xdd, 0xdd, 0xdd);
29 30
30 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250); 31 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250);
31 32
32 const int kTrayPopupWidth = 300; 33 const int kTrayPopupWidth = 300;
33 34
34 } // namespace ash 35 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/tray_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698