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

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

Issue 2070143003: Add MD ink drop ripple to app list button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b612539_shelf_button_ripple
Patch Set: Rebased Created 4 years, 6 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
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // The base color of the shelf to which different alpha values are applied 51 // The base color of the shelf to which different alpha values are applied
52 // based on the desired shelf opacity level. 52 // based on the desired shelf opacity level.
53 ASH_EXPORT extern const SkColor kShelfBaseColor; 53 ASH_EXPORT extern const SkColor kShelfBaseColor;
54 54
55 // Highlight color used for shelf button activated states. 55 // Highlight color used for shelf button activated states.
56 // TODO(bruthig|mohsen): Use of this color is temporary. Draw the active state 56 // TODO(bruthig|mohsen): Use of this color is temporary. Draw the active state
57 // using the material design ripple animation. 57 // using the material design ripple animation.
58 ASH_EXPORT extern const SkColor kShelfButtonActivatedHighlightColor; 58 ASH_EXPORT extern const SkColor kShelfButtonActivatedHighlightColor;
59 59
60 // Ink drop color for shelf items.
61 extern const SkColor kShelfInkDropBaseColor;
62
60 // The foreground color of the icons used in the shelf (launcher, 63 // The foreground color of the icons used in the shelf (launcher,
61 // notifications, etc). 64 // notifications, etc).
62 ASH_EXPORT extern const SkColor kShelfIconColor; 65 ASH_EXPORT extern const SkColor kShelfIconColor;
63 66
64 // The direction of the focus cycling. 67 // The direction of the focus cycling.
65 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; 68 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD };
66 69
67 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); 70 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant);
68 71
69 } // namespace ash 72 } // namespace ash
70 73
71 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ 74 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698