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

Side by Side Diff: ui/app_list/app_list_constants.h

Issue 162363002: Use the new animation tween type for app list folder animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | ui/app_list/app_list_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 (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 #ifndef UI_APP_LIST_APP_LIST_CONSTANTS_H_ 5 #ifndef UI_APP_LIST_APP_LIST_CONSTANTS_H_
6 #define UI_APP_LIST_APP_LIST_CONSTANTS_H_ 6 #define UI_APP_LIST_APP_LIST_CONSTANTS_H_
7 7
8 #include "third_party/skia/include/core/SkColor.h" 8 #include "third_party/skia/include/core/SkColor.h"
9 #include "ui/app_list/app_list_export.h" 9 #include "ui/app_list/app_list_export.h"
10 #include "ui/base/resource/resource_bundle.h" 10 #include "ui/base/resource/resource_bundle.h"
11 #include "ui/gfx/animation/tween.h"
11 12
12 namespace app_list { 13 namespace app_list {
13 14
14 APP_LIST_EXPORT extern const SkColor kContentsBackgroundColor; 15 APP_LIST_EXPORT extern const SkColor kContentsBackgroundColor;
15 APP_LIST_EXPORT extern const SkColor kSearchBoxBackground; 16 APP_LIST_EXPORT extern const SkColor kSearchBoxBackground;
16 APP_LIST_EXPORT extern const SkColor kTopSeparatorColor; 17 APP_LIST_EXPORT extern const SkColor kTopSeparatorColor;
17 18
18 APP_LIST_EXPORT extern const SkColor kHighlightedColor; 19 APP_LIST_EXPORT extern const SkColor kHighlightedColor;
19 APP_LIST_EXPORT extern const SkColor kSelectedColor; 20 APP_LIST_EXPORT extern const SkColor kSelectedColor;
20 21
21 APP_LIST_EXPORT extern const SkColor kPagerHoverColor; 22 APP_LIST_EXPORT extern const SkColor kPagerHoverColor;
22 APP_LIST_EXPORT extern const SkColor kPagerNormalColor; 23 APP_LIST_EXPORT extern const SkColor kPagerNormalColor;
23 APP_LIST_EXPORT extern const SkColor kPagerSelectedColor; 24 APP_LIST_EXPORT extern const SkColor kPagerSelectedColor;
24 25
25 APP_LIST_EXPORT extern const SkColor kResultBorderColor; 26 APP_LIST_EXPORT extern const SkColor kResultBorderColor;
26 APP_LIST_EXPORT extern const SkColor kResultDefaultTextColor; 27 APP_LIST_EXPORT extern const SkColor kResultDefaultTextColor;
27 APP_LIST_EXPORT extern const SkColor kResultDimmedTextColor; 28 APP_LIST_EXPORT extern const SkColor kResultDimmedTextColor;
28 APP_LIST_EXPORT extern const SkColor kResultURLTextColor; 29 APP_LIST_EXPORT extern const SkColor kResultURLTextColor;
29 30
30 APP_LIST_EXPORT extern const SkColor kGridTitleColor; 31 APP_LIST_EXPORT extern const SkColor kGridTitleColor;
31 APP_LIST_EXPORT extern const SkColor kGridTitleHoverColor; 32 APP_LIST_EXPORT extern const SkColor kGridTitleHoverColor;
32 33
33 APP_LIST_EXPORT extern const SkColor kFolderBubbleColor; 34 APP_LIST_EXPORT extern const SkColor kFolderBubbleColor;
34 35
35 APP_LIST_EXPORT extern const int kPageTransitionDurationInMs; 36 APP_LIST_EXPORT extern const int kPageTransitionDurationInMs;
36 APP_LIST_EXPORT extern const int kOverscrollPageTransitionDurationMs; 37 APP_LIST_EXPORT extern const int kOverscrollPageTransitionDurationMs;
37 APP_LIST_EXPORT extern const int kFolderTransitionInDurationMs; 38 APP_LIST_EXPORT extern const int kFolderTransitionInDurationMs;
38 APP_LIST_EXPORT extern const int kFolderTransitionOutDurationMs; 39 APP_LIST_EXPORT extern const int kFolderTransitionOutDurationMs;
40 APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeInTweenType;
41 APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeOutTweenType;
39 42
40 APP_LIST_EXPORT extern const int kPreferredCols; 43 APP_LIST_EXPORT extern const int kPreferredCols;
41 APP_LIST_EXPORT extern const int kPreferredRows; 44 APP_LIST_EXPORT extern const int kPreferredRows;
42 APP_LIST_EXPORT extern const int kPreferredIconDimension; 45 APP_LIST_EXPORT extern const int kPreferredIconDimension;
43 46
44 APP_LIST_EXPORT extern const size_t kNumFolderTopItems; 47 APP_LIST_EXPORT extern const size_t kNumFolderTopItems;
45 48
46 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle; 49 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle;
47 50
48 #if defined(OS_LINUX) 51 #if defined(OS_LINUX)
49 // The WM_CLASS name for the app launcher window on Linux. 52 // The WM_CLASS name for the app launcher window on Linux.
50 APP_LIST_EXPORT extern const char kAppListWMClass[]; 53 APP_LIST_EXPORT extern const char kAppListWMClass[];
51 #endif 54 #endif
52 55
53 } // namespace app_list 56 } // namespace app_list
54 57
55 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_ 58 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/app_list/app_list_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698