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

Side by Side Diff: ash/common/shelf/shelf_constants.h

Issue 2744493002: [ash-md] Added darkness blending to the colorized shelf. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « ash/common/shelf/shelf_background_animator.cc ('k') | ash/common/shelf/shelf_constants.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ 5 #ifndef ASH_COMMON_SHELF_SHELF_CONSTANTS_H_
6 #define ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ 6 #define ASH_COMMON_SHELF_SHELF_CONSTANTS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Opacity of the ink drop ripple for shelf items when the ripple is visible. 54 // Opacity of the ink drop ripple for shelf items when the ripple is visible.
55 extern const float kShelfInkDropVisibleOpacity; 55 extern const float kShelfInkDropVisibleOpacity;
56 56
57 // The foreground color of the icons used in the shelf (launcher, 57 // The foreground color of the icons used in the shelf (launcher,
58 // notifications, etc). 58 // notifications, etc).
59 ASH_EXPORT extern const SkColor kShelfIconColor; 59 ASH_EXPORT extern const SkColor kShelfIconColor;
60 60
61 // The alpha value for the shelf background when a window is overlapping. 61 // The alpha value for the shelf background when a window is overlapping.
62 ASH_EXPORT extern const int kShelfTranslucentAlpha; 62 ASH_EXPORT extern const int kShelfTranslucentAlpha;
63 63
64 // The alpha value used to darken a colorized shelf when the shelf is
65 // translucent.
66 extern const int kShelfTranslucentColorDarkenAlpha;
67
68 // The alpha vlaue usesd to darken a colorized shelf when the shelf is opaque.
69 extern const int kShelfOpaqueColorDarkenAlpha;
70
64 // The width and height of the material design overflow button. 71 // The width and height of the material design overflow button.
65 // TODO(tdanderson): Refactor constants which are common between the shelf 72 // TODO(tdanderson): Refactor constants which are common between the shelf
66 // and the tray. See crbug.com/623987. 73 // and the tray. See crbug.com/623987.
67 extern const int kOverflowButtonSize; 74 extern const int kOverflowButtonSize;
68 75
69 // The radius of the rounded corners of the overflow button. 76 // The radius of the rounded corners of the overflow button.
70 extern const int kOverflowButtonCornerRadius; 77 extern const int kOverflowButtonCornerRadius;
71 78
72 // The radius of the circular material design app list button. 79 // The radius of the circular material design app list button.
73 extern const int kAppListButtonRadius; 80 extern const int kAppListButtonRadius;
74 81
75 // The direction of the focus cycling. 82 // The direction of the focus cycling.
76 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; 83 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD };
77 84
78 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); 85 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant);
79 86
80 } // namespace ash 87 } // namespace ash
81 88
82 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ 89 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/common/shelf/shelf_background_animator.cc ('k') | ash/common/shelf/shelf_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698