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

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

Issue 590023002: Experimental app list: Remove page indicator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@views-imagebutton-min-size
Patch Set: Remove include app_list_constants.h and IWYU. 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/contents_switcher_view.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 kSearchBoxBackground = SK_ColorWHITE; 10 const SkColor kSearchBoxBackground = SK_ColorWHITE;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // 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.
74 const int kExperimentalPreferredCols = 6; 74 const int kExperimentalPreferredCols = 6;
75 const int kExperimentalPreferredRows = 4; 75 const int kExperimentalPreferredRows = 4;
76 76
77 // 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.
78 const int kReorderDroppingCircleRadius = 35; 78 const int kReorderDroppingCircleRadius = 35;
79 79
80 // The padding around the outside of the experimental app list (top and sides). 80 // The padding around the outside of the experimental app list (top and sides).
81 const int kExperimentalWindowPadding = 23; 81 const int kExperimentalWindowPadding = 23;
82 82
83 // Height of separator between the main view and contents switcher and of
84 // the launcher page indicator.
85 const int kContentsSwitcherSeparatorHeight = 1;
86
87 // Max items allowed in a folder. 83 // Max items allowed in a folder.
88 size_t kMaxFolderItems = 16; 84 size_t kMaxFolderItems = 16;
89 85
90 // Number of the top items in a folder, which are shown inside the folder icon 86 // Number of the top items in a folder, which are shown inside the folder icon
91 // and animated when opening and closing a folder. 87 // and animated when opening and closing a folder.
92 const size_t kNumFolderTopItems = 4; 88 const size_t kNumFolderTopItems = 4;
93 89
94 // Maximum length of the folder name in chars. 90 // Maximum length of the folder name in chars.
95 const size_t kMaxFolderNameChars = 40; 91 const size_t kMaxFolderNameChars = 40;
96 92
97 // Font style for app item labels. 93 // Font style for app item labels.
98 const ui::ResourceBundle::FontStyle kItemTextFontStyle = 94 const ui::ResourceBundle::FontStyle kItemTextFontStyle =
99 ui::ResourceBundle::SmallBoldFont; 95 ui::ResourceBundle::SmallBoldFont;
100 96
101 #if defined(OS_LINUX) 97 #if defined(OS_LINUX)
102 #if defined(GOOGLE_CHROME_BUILD) 98 #if defined(GOOGLE_CHROME_BUILD)
103 const char kAppListWMClass[] = "chrome_app_list"; 99 const char kAppListWMClass[] = "chrome_app_list";
104 #else // CHROMIUM_BUILD 100 #else // CHROMIUM_BUILD
105 const char kAppListWMClass[] = "chromium_app_list"; 101 const char kAppListWMClass[] = "chromium_app_list";
106 #endif 102 #endif
107 #endif 103 #endif
108 104
109 } // namespace app_list 105 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/views/contents_switcher_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698