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

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

Issue 722563002: Add a card background to the app list search result groups. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tilv
Patch Set: use constants in speech_view.cc Created 6 years, 1 month 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 | « ui/app_list/app_list_constants.h ('k') | ui/app_list/views/search_result_page_view.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 #include "ui/app_list/app_list_constants.h" 5 #include "ui/app_list/app_list_constants.h"
6 6
7 namespace app_list { 7 namespace app_list {
8 8
9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xF5, 0xF5, 0xF5); 9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xF5, 0xF5, 0xF5);
10 const SkColor kSearchBoxBackground = SK_ColorWHITE; 10 const SkColor kSearchBoxBackground = SK_ColorWHITE;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const SkColor kFolderTitleColor = SkColorSetRGB(0x33, 0x33, 0x33); 43 const SkColor kFolderTitleColor = SkColorSetRGB(0x33, 0x33, 0x33);
44 const SkColor kFolderTitleHintTextColor = SkColorSetRGB(0xA0, 0xA0, 0xA0); 44 const SkColor kFolderTitleHintTextColor = SkColorSetRGB(0xA0, 0xA0, 0xA0);
45 // Color of the folder ink bubble. 45 // Color of the folder ink bubble.
46 const SkColor kFolderBubbleColor = SK_ColorWHITE; 46 const SkColor kFolderBubbleColor = SK_ColorWHITE;
47 // Color of the folder bubble shadow. 47 // Color of the folder bubble shadow.
48 const SkColor kFolderShadowColor = SkColorSetRGB(0xBF, 0xBF, 0xBF); 48 const SkColor kFolderShadowColor = SkColorSetRGB(0xBF, 0xBF, 0xBF);
49 const float kFolderBubbleRadius = 22; 49 const float kFolderBubbleRadius = 22;
50 const float kFolderShadowRadius = 22.5; 50 const float kFolderShadowRadius = 22.5;
51 const float kFolderShadowOffsetY = 1; 51 const float kFolderShadowOffsetY = 1;
52 52
53 const int kCardShadowBlur = 4;
54 const int kCardShadowYOffset = 1;
55 const SkColor kCardShadowColor = SkColorSetARGB(0x4C, 0, 0, 0);
56 const SkColor kCardBackgroundColor = SK_ColorWHITE;
57
53 // Duration in milliseconds for page transition. 58 // Duration in milliseconds for page transition.
54 const int kPageTransitionDurationInMs = 180; 59 const int kPageTransitionDurationInMs = 180;
55 60
56 // Duration in milliseconds for over scroll page transition. 61 // Duration in milliseconds for over scroll page transition.
57 const int kOverscrollPageTransitionDurationMs = 50; 62 const int kOverscrollPageTransitionDurationMs = 50;
58 63
59 // Duration in milliseconds for fading in the target page when opening 64 // Duration in milliseconds for fading in the target page when opening
60 // or closing a folder, and the duration for the top folder icon animation 65 // or closing a folder, and the duration for the top folder icon animation
61 // for flying in or out the folder. 66 // for flying in or out the folder.
62 const int kFolderTransitionInDurationMs = 400; 67 const int kFolderTransitionInDurationMs = 400;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 117
113 #if defined(OS_LINUX) 118 #if defined(OS_LINUX)
114 #if defined(GOOGLE_CHROME_BUILD) 119 #if defined(GOOGLE_CHROME_BUILD)
115 const char kAppListWMClass[] = "chrome_app_list"; 120 const char kAppListWMClass[] = "chrome_app_list";
116 #else // CHROMIUM_BUILD 121 #else // CHROMIUM_BUILD
117 const char kAppListWMClass[] = "chromium_app_list"; 122 const char kAppListWMClass[] = "chromium_app_list";
118 #endif 123 #endif
119 #endif 124 #endif
120 125
121 } // namespace app_list 126 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/views/search_result_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698