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

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

Issue 380613002: Experimental app list: Added a current page indicator to the launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed static initializer. Created 6 years, 5 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_background.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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const int kPreferredRows = 4; 67 const int kPreferredRows = 4;
68 const int kPreferredIconDimension = 48; 68 const int kPreferredIconDimension = 48;
69 69
70 // Preferred number of columns and rows in the experimental app list apps grid. 70 // Preferred number of columns and rows in the experimental app list apps grid.
71 const int kExperimentalPreferredCols = 6; 71 const int kExperimentalPreferredCols = 6;
72 const int kExperimentalPreferredRows = 3; 72 const int kExperimentalPreferredRows = 3;
73 73
74 // Radius of the circle, in which if entered, show re-order preview. 74 // Radius of the circle, in which if entered, show re-order preview.
75 const int kReorderDroppingCircleRadius = 35; 75 const int kReorderDroppingCircleRadius = 35;
76 76
77 // Height of separator between the main view and contents switcher and of
78 // the launcher page indicator.
79 const int kContentsSwitcherSeparatorHeight = 1;
80
77 // Max items allowed in a folder. 81 // Max items allowed in a folder.
78 size_t kMaxFolderItems = 16; 82 size_t kMaxFolderItems = 16;
79 83
80 // Number of the top items in a folder, which are shown inside the folder icon 84 // Number of the top items in a folder, which are shown inside the folder icon
81 // and animated when opening and closing a folder. 85 // and animated when opening and closing a folder.
82 const size_t kNumFolderTopItems = 4; 86 const size_t kNumFolderTopItems = 4;
83 87
84 // Maximum length of the folder name in chars. 88 // Maximum length of the folder name in chars.
85 const size_t kMaxFolderNameChars = 40; 89 const size_t kMaxFolderNameChars = 40;
86 90
87 // Font style for app item labels. 91 // Font style for app item labels.
88 const ui::ResourceBundle::FontStyle kItemTextFontStyle = 92 const ui::ResourceBundle::FontStyle kItemTextFontStyle =
89 ui::ResourceBundle::SmallBoldFont; 93 ui::ResourceBundle::SmallBoldFont;
90 94
91 #if defined(OS_LINUX) 95 #if defined(OS_LINUX)
92 #if defined(GOOGLE_CHROME_BUILD) 96 #if defined(GOOGLE_CHROME_BUILD)
93 const char kAppListWMClass[] = "chrome_app_list"; 97 const char kAppListWMClass[] = "chrome_app_list";
94 #else // CHROMIUM_BUILD 98 #else // CHROMIUM_BUILD
95 const char kAppListWMClass[] = "chromium_app_list"; 99 const char kAppListWMClass[] = "chromium_app_list";
96 #endif 100 #endif
97 #endif 101 #endif
98 102
99 } // namespace app_list 103 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/app_list_constants.h ('k') | ui/app_list/views/app_list_background.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698