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

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

Issue 676513003: Remove 1 pixel padding around app list main view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/call_add_contents_view_later
Patch Set: switched constants Created 6 years, 1 month 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 | « no previous file | ui/app_list/views/app_list_main_view.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(0xFA, 0xFA, 0xFA); 9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xFA, 0xFA, 0xFA);
10 const SkColor kSearchBoxBackground = SK_ColorWHITE; 10 const SkColor kSearchBoxBackground = SK_ColorWHITE;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const int kCenteredPreferredRows = 3; 73 const int kCenteredPreferredRows = 3;
74 74
75 // Preferred number of columns and rows in the experimental app list apps grid. 75 // Preferred number of columns and rows in the experimental app list apps grid.
76 const int kExperimentalPreferredCols = 6; 76 const int kExperimentalPreferredCols = 6;
77 const int kExperimentalPreferredRows = 4; 77 const int kExperimentalPreferredRows = 4;
78 78
79 // Radius of the circle, in which if entered, show re-order preview. 79 // Radius of the circle, in which if entered, show re-order preview.
80 const int kReorderDroppingCircleRadius = 35; 80 const int kReorderDroppingCircleRadius = 35;
81 81
82 // The padding around the outside of the experimental app list (top and sides). 82 // The padding around the outside of the experimental app list (top and sides).
83 const int kExperimentalWindowPadding = 23; 83 const int kExperimentalWindowPadding = 24;
84 84
85 // Max items allowed in a folder. 85 // Max items allowed in a folder.
86 size_t kMaxFolderItems = 16; 86 size_t kMaxFolderItems = 16;
87 87
88 // Number of the top items in a folder, which are shown inside the folder icon 88 // Number of the top items in a folder, which are shown inside the folder icon
89 // and animated when opening and closing a folder. 89 // and animated when opening and closing a folder.
90 const size_t kNumFolderTopItems = 4; 90 const size_t kNumFolderTopItems = 4;
91 91
92 // Maximum length of the folder name in chars. 92 // Maximum length of the folder name in chars.
93 const size_t kMaxFolderNameChars = 40; 93 const size_t kMaxFolderNameChars = 40;
94 94
95 // Font style for app item labels. 95 // Font style for app item labels.
96 const ui::ResourceBundle::FontStyle kItemTextFontStyle = 96 const ui::ResourceBundle::FontStyle kItemTextFontStyle =
97 ui::ResourceBundle::SmallBoldFont; 97 ui::ResourceBundle::SmallBoldFont;
98 98
99 #if defined(OS_LINUX) 99 #if defined(OS_LINUX)
100 #if defined(GOOGLE_CHROME_BUILD) 100 #if defined(GOOGLE_CHROME_BUILD)
101 const char kAppListWMClass[] = "chrome_app_list"; 101 const char kAppListWMClass[] = "chrome_app_list";
102 #else // CHROMIUM_BUILD 102 #else // CHROMIUM_BUILD
103 const char kAppListWMClass[] = "chromium_app_list"; 103 const char kAppListWMClass[] = "chromium_app_list";
104 #endif 104 #endif
105 #endif 105 #endif
106 106
107 } // namespace app_list 107 } // namespace app_list
OLDNEW
« no previous file with comments | « no previous file | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698