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

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

Issue 12248012: Makes a gap at the top boundary of message center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: std::max Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/system/tray/tray_constants.h ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | 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
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0); 55 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0);
56 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); 56 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0);
57 57
58 const int kTrayPopupMinWidth = 300; 58 const int kTrayPopupMinWidth = 300;
59 const int kTrayPopupMaxWidth = 500; 59 const int kTrayPopupMaxWidth = 500;
60 const int kNotificationIconWidth = 40; 60 const int kNotificationIconWidth = 40;
61 // TODO(stevenjb): This calculation is wrong (http://crbug.com/163402). 61 // TODO(stevenjb): This calculation is wrong (http://crbug.com/163402).
62 const int kTrayNotificationContentsWidth = kTrayPopupMinWidth - 62 const int kTrayNotificationContentsWidth = kTrayPopupMinWidth -
63 (kNotificationIconWidth + kTrayPopupPaddingHorizontal) * 2; 63 (kNotificationIconWidth + kTrayPopupPaddingHorizontal) * 2;
64 64
65 const int kTraySpacing = 8;
66
65 } // namespace ash 67 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/tray_constants.h ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698