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

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

Issue 10086005: ash: Show better focus rects for the tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 | Annotate | Revision Log
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 15
16 const int kTrayPopupItemHeight = 48; 16 const int kTrayPopupItemHeight = 48;
17 const int kTrayPopupDetailsIconWidth = 27; 17 const int kTrayPopupDetailsIconWidth = 27;
18 const int kTrayRoundedBorderRadius = 2; 18 const int kTrayRoundedBorderRadius = 2;
19 19
20 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe); 20 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe);
21 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); 21 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5);
22 22
23 const SkColor kHeaderBackgroundColor = SkColorSetRGB(0xf1, 0xf1, 0xf1); 23 const SkColor kHeaderBackgroundColor = SkColorSetRGB(0xf1, 0xf1, 0xf1);
24 const SkColor kHeaderHoverBackgroundColor = SkColorSetRGB(0xe1, 0xe1, 0xe1); 24 const SkColor kHeaderHoverBackgroundColor = SkColorSetRGB(0xe1, 0xe1, 0xe1);
25 25
26 const SkColor kBorderDarkColor = SkColorSetARGB(51, 0, 0, 0); 26 const SkColor kBorderDarkColor = SkColorSetARGB(51, 0, 0, 0);
27 const SkColor kBorderLightColor = SkColorSetRGB(0xeb, 0xeb, 0xeb); 27 const SkColor kBorderLightColor = SkColorSetRGB(0xeb, 0xeb, 0xeb);
28 28
29 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250);
30
29 const int kTrayPopupWidth = 300; 31 const int kTrayPopupWidth = 300;
30 32
31 } // namespace ash 33 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698