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

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

Issue 2706403013: Remove non-MD code from StatusAreaWidgetDelegate (Closed)
Patch Set: Rebased 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 | « no previous file | 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 12 matching lines...) Expand all
23 // the resize handle at the edge of the window can be hit. 23 // the resize handle at the edge of the window can be hit.
24 extern const int kWorkspaceAreaVisibleInset; 24 extern const int kWorkspaceAreaVisibleInset;
25 25
26 // When autohidden we extend the touch hit target onto the screen so that the 26 // When autohidden we extend the touch hit target onto the screen so that the
27 // user can drag the shelf out. 27 // user can drag the shelf out.
28 extern const int kWorkspaceAreaAutoHideInset; 28 extern const int kWorkspaceAreaAutoHideInset;
29 29
30 // Size of the shelf when auto-hidden. 30 // Size of the shelf when auto-hidden.
31 ASH_EXPORT extern const int kShelfAutoHideSize; 31 ASH_EXPORT extern const int kShelfAutoHideSize;
32 32
33 // Inset between the inner edge of the shelf (towards centre of screen), and
34 // the shelf items, notifications, status area etc.
35 extern const int kShelfItemInset;
36
37 // Animation duration for switching black shelf and dock background on and off. 33 // Animation duration for switching black shelf and dock background on and off.
38 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; 34 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs;
39 35
40 // The default base color of the shelf to which different alpha values are 36 // The default base color of the shelf to which different alpha values are
41 // applied based on the desired shelf opacity level. 37 // applied based on the desired shelf opacity level.
42 ASH_EXPORT extern const SkColor kShelfDefaultBaseColor; 38 ASH_EXPORT extern const SkColor kShelfDefaultBaseColor;
43 39
44 // Size allocated for each app button on the shelf. 40 // Size allocated for each app button on the shelf.
45 ASH_EXPORT extern const int kShelfButtonSize; 41 ASH_EXPORT extern const int kShelfButtonSize;
46 42
(...skipping 30 matching lines...) Expand all
77 extern const int kAppListButtonRadius; 73 extern const int kAppListButtonRadius;
78 74
79 // The direction of the focus cycling. 75 // The direction of the focus cycling.
80 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; 76 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD };
81 77
82 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); 78 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant);
83 79
84 } // namespace ash 80 } // namespace ash
85 81
86 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ 82 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | ash/common/shelf/shelf_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698