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

Unified Diff: ui/app_list/app_list_constants.cc

Issue 2787693002: Remove more dead app list code. (Closed)
Patch Set: updated comment 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/app_list_folder_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_constants.cc
diff --git a/ui/app_list/app_list_constants.cc b/ui/app_list/app_list_constants.cc
index 0891e380e5fd0b27f08999ff381e3d85e0592bb4..9633deea6f1ffe33e8760fc43e53962ad4fd218c 100644
--- a/ui/app_list/app_list_constants.cc
+++ b/ui/app_list/app_list_constants.cc
@@ -14,13 +14,7 @@ const SkColor kSearchBoxBackground = SK_ColorWHITE;
const SkColor kSearchTextColor = SkColorSetRGB(0x33, 0x33, 0x33);
-// In Windows, transparent background color will cause ugly text rendering,
-// therefore kContentsBackgroundColor should be used. See crbug.com/406989
-#if defined(OS_CHROMEOS)
const SkColor kLabelBackgroundColor = SK_ColorTRANSPARENT;
-#else
-const SkColor kLabelBackgroundColor = kContentsBackgroundColor;
-#endif
const SkColor kTopSeparatorColor = SkColorSetRGB(0xC0, 0xC0, 0xC0);
const SkColor kBottomSeparatorColor = SkColorSetRGB(0xC0, 0xC0, 0xC0);
@@ -140,14 +134,6 @@ const char kSearchQueryLength[] = "Apps.AppListSearchQueryLength";
const char kSearchResultDistanceFromOrigin[] =
"Apps.AppListSearchResultDistanceFromOrigin";
-#if defined(OS_LINUX)
-#if defined(GOOGLE_CHROME_BUILD)
-const char kAppListWMClass[] = "chrome_app_list";
-#else // CHROMIUM_BUILD
-const char kAppListWMClass[] = "chromium_app_list";
-#endif
-#endif
-
gfx::ShadowValue GetShadowForZHeight(int z_height) {
if (z_height <= 0)
return gfx::ShadowValue();
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/app_list_folder_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698