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

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

Issue 2934673002: Revert of Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Created 3 years, 6 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/presenter/app_list_presenter_impl.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 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "ui/gfx/color_palette.h" 8 #include "ui/gfx/color_palette.h"
9 9
10 namespace app_list { 10 namespace app_list {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 const int kListIconSize = 24; 84 const int kListIconSize = 24;
85 const int kListBadgeIconSize = 16; 85 const int kListBadgeIconSize = 16;
86 const int kListBadgeIconOffsetX = 6; 86 const int kListBadgeIconOffsetX = 6;
87 const int kListBadgeIconOffsetY = 6; 87 const int kListBadgeIconOffsetY = 6;
88 const int kTileIconSize = 48; 88 const int kTileIconSize = 48;
89 89
90 const SkColor kIconColor = gfx::kChromeIconGrey; 90 const SkColor kIconColor = gfx::kChromeIconGrey;
91 91
92 // The number of apps shown in the start page app grid. 92 // The number of apps shown in the start page app grid.
93 const size_t kNumStartPageTiles = 9; 93 const size_t kNumStartPageTiles = 9;
94 const size_t kNumStartPageTilesFullscreen = 5;
95 94
96 // Maximum number of results to show in the launcher Search UI. 95 // Maximum number of results to show in the launcher Search UI.
97 const size_t kMaxSearchResults = 6; 96 const size_t kMaxSearchResults = 6;
98 97
99 // Radius of the circle, in which if entered, show re-order preview. 98 // Radius of the circle, in which if entered, show re-order preview.
100 const int kReorderDroppingCircleRadius = 35; 99 const int kReorderDroppingCircleRadius = 35;
101 100
102 // The padding around the outside of the apps grid (sides). 101 // The padding around the outside of the apps grid (sides).
103 const int kAppsGridPadding = 24; 102 const int kAppsGridPadding = 24;
104 103
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 159 }
161 160
162 const gfx::ShadowValues& IconEndShadows() { 161 const gfx::ShadowValues& IconEndShadows() {
163 CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows, 162 CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows,
164 (1, gfx::ShadowValue(gfx::Vector2d(0, 4), 8, 163 (1, gfx::ShadowValue(gfx::Vector2d(0, 4), 8,
165 SkColorSetARGB(0x50, 0, 0, 0)))); 164 SkColorSetARGB(0x50, 0, 0, 0))));
166 return icon_shadows; 165 return icon_shadows;
167 } 166 }
168 167
169 } // namespace app_list 168 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/presenter/app_list_presenter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698