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

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

Issue 1996563002: Add ImeMenuTray element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add kShowIconOnTrayKey property for window. 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 27 matching lines...) Expand all
38 38
39 // Size of the shelf when auto-hidden. 39 // Size of the shelf when auto-hidden.
40 ASH_EXPORT extern const int kShelfAutoHideSize; 40 ASH_EXPORT extern const int kShelfAutoHideSize;
41 41
42 // Inset between the inner edge of the shelf (towards centre of screen), and 42 // Inset between the inner edge of the shelf (towards centre of screen), and
43 // the shelf items, notifications, status area etc. 43 // the shelf items, notifications, status area etc.
44 extern const int kShelfItemInset; 44 extern const int kShelfItemInset;
45 45
46 const int kInvalidShelfID = 0; 46 const int kInvalidShelfID = 0;
47 47
48 // IME menu panel window lays the icon on the status tray rather than shelf.
49 const int kStatusTrayShelfID = -1;
50
48 // Animation duration for switching black shelf and dock background on and off. 51 // Animation duration for switching black shelf and dock background on and off.
49 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; 52 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs;
50 53
51 // The base color of the shelf to which different alpha values are applied 54 // The base color of the shelf to which different alpha values are applied
52 // based on the desired shelf opacity level. 55 // based on the desired shelf opacity level.
53 ASH_EXPORT extern const SkColor kShelfBaseColor; 56 ASH_EXPORT extern const SkColor kShelfBaseColor;
54 57
55 // Highlight color used for shelf button activated states. 58 // Highlight color used for shelf button activated states.
56 // TODO(bruthig|mohsen): Use of this color is temporary. Draw the active state 59 // TODO(bruthig|mohsen): Use of this color is temporary. Draw the active state
57 // using the material design ripple animation. 60 // using the material design ripple animation.
58 ASH_EXPORT extern const SkColor kShelfButtonActivatedHighlightColor; 61 ASH_EXPORT extern const SkColor kShelfButtonActivatedHighlightColor;
59 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
« no previous file with comments | « ash/ash_chromeos_strings.grdp ('k') | ash/shelf/shelf.cc » ('j') | ash/shelf/shelf.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698