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

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

Issue 573703003: Make experimental app launcher show 4 rows of apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dragging_without_grid_resize
Patch Set: address comments Created 6 years, 3 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
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/views/app_list_view_unittest.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(0xFB, 0xFB, 0xFB); 9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xFB, 0xFB, 0xFB);
10 const SkColor kContentsSwitcherBackgroundColor = SK_ColorWHITE; 10 const SkColor kContentsSwitcherBackgroundColor = SK_ColorWHITE;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 // Preferred number of columns and rows in apps grid. 61 // Preferred number of columns and rows in apps grid.
62 const int kPreferredCols = 4; 62 const int kPreferredCols = 4;
63 const int kPreferredRows = 4; 63 const int kPreferredRows = 4;
64 const int kGridIconDimension = 48; 64 const int kGridIconDimension = 48;
65 65
66 // Preferred search result icon sizes. 66 // Preferred search result icon sizes.
67 const int kListIconSize = 32; 67 const int kListIconSize = 32;
68 const int kTileIconSize = 48; 68 const int kTileIconSize = 48;
69 69
70 // Preferred number of columns and rows in the centered app list apps grid.
71 const int kCenteredPreferredCols = 6;
72 const int kCenteredPreferredRows = 3;
73
70 // Preferred number of columns and rows in the experimental app list apps grid. 74 // Preferred number of columns and rows in the experimental app list apps grid.
71 const int kExperimentalPreferredCols = 6; 75 const int kExperimentalPreferredCols = 6;
72 const int kExperimentalPreferredRows = 3; 76 const int kExperimentalPreferredRows = 4;
73 77
74 // Radius of the circle, in which if entered, show re-order preview. 78 // Radius of the circle, in which if entered, show re-order preview.
75 const int kReorderDroppingCircleRadius = 35; 79 const int kReorderDroppingCircleRadius = 35;
76 80
77 // Height of separator between the main view and contents switcher and of 81 // Height of separator between the main view and contents switcher and of
78 // the launcher page indicator. 82 // the launcher page indicator.
79 const int kContentsSwitcherSeparatorHeight = 1; 83 const int kContentsSwitcherSeparatorHeight = 1;
80 84
81 // Max items allowed in a folder. 85 // Max items allowed in a folder.
82 size_t kMaxFolderItems = 16; 86 size_t kMaxFolderItems = 16;
(...skipping 11 matching lines...) Expand all
94 98
95 #if defined(OS_LINUX) 99 #if defined(OS_LINUX)
96 #if defined(GOOGLE_CHROME_BUILD) 100 #if defined(GOOGLE_CHROME_BUILD)
97 const char kAppListWMClass[] = "chrome_app_list"; 101 const char kAppListWMClass[] = "chrome_app_list";
98 #else // CHROMIUM_BUILD 102 #else // CHROMIUM_BUILD
99 const char kAppListWMClass[] = "chromium_app_list"; 103 const char kAppListWMClass[] = "chromium_app_list";
100 #endif 104 #endif
101 #endif 105 #endif
102 106
103 } // namespace app_list 107 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/views/app_list_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698