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

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

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Addressed comments. 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
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 {
11 11
12 namespace fullscreen_constants {
13 const size_t kNumStartPageTiles = 5;
msw 2017/06/06 17:56:31 ditto, move this assignment down to match the move
newcomer 2017/06/06 23:26:27 Done.
14 } // namespace fullscreen_constants
15
12 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xF2, 0xF2, 0xF2); 16 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xF2, 0xF2, 0xF2);
13 const SkColor kSearchBoxBackground = SK_ColorWHITE; 17 const SkColor kSearchBoxBackground = SK_ColorWHITE;
14 18
15 const SkColor kSearchTextColor = SkColorSetRGB(0x33, 0x33, 0x33); 19 const SkColor kSearchTextColor = SkColorSetRGB(0x33, 0x33, 0x33);
16 20
17 const SkColor kLabelBackgroundColor = SK_ColorTRANSPARENT; 21 const SkColor kLabelBackgroundColor = SK_ColorTRANSPARENT;
18 22
19 const SkColor kTopSeparatorColor = SkColorSetRGB(0xC0, 0xC0, 0xC0); 23 const SkColor kTopSeparatorColor = SkColorSetRGB(0xC0, 0xC0, 0xC0);
20 const SkColor kBottomSeparatorColor = SkColorSetRGB(0xC0, 0xC0, 0xC0); 24 const SkColor kBottomSeparatorColor = SkColorSetRGB(0xC0, 0xC0, 0xC0);
21 25
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 163 }
160 164
161 const gfx::ShadowValues& IconEndShadows() { 165 const gfx::ShadowValues& IconEndShadows() {
162 CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows, 166 CR_DEFINE_STATIC_LOCAL(const gfx::ShadowValues, icon_shadows,
163 (1, gfx::ShadowValue(gfx::Vector2d(0, 4), 8, 167 (1, gfx::ShadowValue(gfx::Vector2d(0, 4), 8,
164 SkColorSetARGB(0x50, 0, 0, 0)))); 168 SkColorSetARGB(0x50, 0, 0, 0))));
165 return icon_shadows; 169 return icon_shadows;
166 } 170 }
167 171
168 } // namespace app_list 172 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698