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

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

Issue 458983004: Move app list search result icon sizes to app_list_constants. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile Created 6 years, 4 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 | « ui/app_list/app_list_constants.h ('k') | ui/app_list/search_result.h » ('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(0xFB, 0xFB, 0xFB); 9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xFB, 0xFB, 0xFB);
10 const SkColor kContentsSwitcherBackgroundColor = SK_ColorWHITE; 10 const SkColor kContentsSwitcherBackgroundColor = SK_ColorWHITE;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Animation curve used for fading out the target page when opening or closing 60 // Animation curve used for fading out the target page when opening or closing
61 // a folder. 61 // a folder.
62 const gfx::Tween::Type kFolderFadeOutTweenType = gfx::Tween::FAST_OUT_LINEAR_IN; 62 const gfx::Tween::Type kFolderFadeOutTweenType = gfx::Tween::FAST_OUT_LINEAR_IN;
63 63
64 // Preferred number of columns and rows in apps grid. 64 // Preferred number of columns and rows in apps grid.
65 const int kPreferredCols = 4; 65 const int kPreferredCols = 4;
66 const int kPreferredRows = 4; 66 const int kPreferredRows = 4;
67 const int kPreferredIconDimension = 48; 67 const int kPreferredIconDimension = 48;
68 68
69 // Preferred search result icon sizes.
70 const int kListIconSize = 32;
71 const int kTileIconSize = 48;
72
69 // Preferred number of columns and rows in the experimental app list apps grid. 73 // Preferred number of columns and rows in the experimental app list apps grid.
70 const int kExperimentalPreferredCols = 6; 74 const int kExperimentalPreferredCols = 6;
71 const int kExperimentalPreferredRows = 3; 75 const int kExperimentalPreferredRows = 3;
72 76
73 // Radius of the circle, in which if entered, show re-order preview. 77 // Radius of the circle, in which if entered, show re-order preview.
74 const int kReorderDroppingCircleRadius = 35; 78 const int kReorderDroppingCircleRadius = 35;
75 79
76 // Height of separator between the main view and contents switcher and of 80 // Height of separator between the main view and contents switcher and of
77 // the launcher page indicator. 81 // the launcher page indicator.
78 const int kContentsSwitcherSeparatorHeight = 1; 82 const int kContentsSwitcherSeparatorHeight = 1;
(...skipping 14 matching lines...) Expand all
93 97
94 #if defined(OS_LINUX) 98 #if defined(OS_LINUX)
95 #if defined(GOOGLE_CHROME_BUILD) 99 #if defined(GOOGLE_CHROME_BUILD)
96 const char kAppListWMClass[] = "chrome_app_list"; 100 const char kAppListWMClass[] = "chrome_app_list";
97 #else // CHROMIUM_BUILD 101 #else // CHROMIUM_BUILD
98 const char kAppListWMClass[] = "chromium_app_list"; 102 const char kAppListWMClass[] = "chromium_app_list";
99 #endif 103 #endif
100 #endif 104 #endif
101 105
102 } // namespace app_list 106 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/search_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698