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 10830078: Uber tray UI Polish: Adjust uber tray bubble and arrow to align it with the app list bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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_bubble_view.cc ('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 kPaddingFromRightEdgeOfScreenBottomAlignment = 15; 11 const int kPaddingFromRightEdgeOfScreenBottomAlignment = 15;
12 const int kPaddingFromBottomOfScreenBottomAlignment = 10; 12 const int kPaddingFromBottomOfScreenBottomAlignment = 9;
13 const int kPaddingFromOuterEdgeOfLauncherVerticalAlignment = 8; 13 const int kPaddingFromOuterEdgeOfLauncherVerticalAlignment = 8;
14 const int kPaddingFromInnerEdgeOfLauncherVerticalAlignment = 7; 14 const int kPaddingFromInnerEdgeOfLauncherVerticalAlignment = 9;
15 const int kPaddingFromBottomOfScreenVerticalAlignment = 10; 15 const int kPaddingFromBottomOfScreenVerticalAlignment = 10;
16 16
17 const int kTrayImageItemHorizontalPaddingBottomAlignment = 1; 17 const int kTrayImageItemHorizontalPaddingBottomAlignment = 1;
18 const int kTrayImageItemHorizontalPaddingVerticalAlignment = 1; 18 const int kTrayImageItemHorizontalPaddingVerticalAlignment = 1;
19 const int kTrayImageItemVerticalPaddingVerticalAlignment = 1; 19 const int kTrayImageItemVerticalPaddingVerticalAlignment = 1;
20 20
21 const int kTrayLabelItemHorizontalPaddingBottomAlignment = 7; 21 const int kTrayLabelItemHorizontalPaddingBottomAlignment = 7;
22 const int kTrayLabelItemVerticalPaddingVeriticalAlignment = 4; 22 const int kTrayLabelItemVerticalPaddingVeriticalAlignment = 4;
23 23
24 const int kTrayPopupAutoCloseDelayInSeconds = 2; 24 const int kTrayPopupAutoCloseDelayInSeconds = 2;
(...skipping 21 matching lines...) Expand all
46 46
47 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0); 47 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0);
48 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); 48 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0);
49 49
50 const int kTrayPopupWidth = 300; 50 const int kTrayPopupWidth = 300;
51 const int kNotificationIconWidth = 40; 51 const int kNotificationIconWidth = 40;
52 const int kTrayNotificationContentsWidth = 52 const int kTrayNotificationContentsWidth =
53 kTrayPopupWidth - kNotificationIconWidth*2 - kTrayPopupPaddingHorizontal*2; 53 kTrayPopupWidth - kNotificationIconWidth*2 - kTrayPopupPaddingHorizontal*2;
54 54
55 } // namespace ash 55 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/tray_bubble_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698