| OLD | NEW |
| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // a folder. | 57 // a folder. |
| 58 const gfx::Tween::Type kFolderFadeInTweenType = gfx::Tween::EASE_IN_2; | 58 const gfx::Tween::Type kFolderFadeInTweenType = gfx::Tween::EASE_IN_2; |
| 59 | 59 |
| 60 // Animation curve used for fading out the target page when opening or closing | 60 // Animation curve used for fading out the target page when opening or closing |
| 61 // a folder. | 61 // a folder. |
| 62 const gfx::Tween::Type kFolderFadeOutTweenType = gfx::Tween::FAST_OUT_LINEAR_IN; | 62 const gfx::Tween::Type kFolderFadeOutTweenType = gfx::Tween::FAST_OUT_LINEAR_IN; |
| 63 | 63 |
| 64 // Preferred number of columns and rows in apps grid. | 64 // Preferred number of columns and rows in apps grid. |
| 65 const int kPreferredCols = 4; | 65 const int kPreferredCols = 4; |
| 66 const int kPreferredRows = 4; | 66 const int kPreferredRows = 4; |
| 67 const int kPreferredIconDimension = 48; | 67 const int kGridIconDimension = 48; |
| 68 | 68 |
| 69 // Preferred number of columns and rows in the experimental app list apps grid. | 69 // Preferred number of columns and rows in the experimental app list apps grid. |
| 70 const int kExperimentalPreferredCols = 6; | 70 const int kExperimentalPreferredCols = 6; |
| 71 const int kExperimentalPreferredRows = 3; | 71 const int kExperimentalPreferredRows = 3; |
| 72 | 72 |
| 73 // Radius of the circle, in which if entered, show re-order preview. | 73 // Radius of the circle, in which if entered, show re-order preview. |
| 74 const int kReorderDroppingCircleRadius = 35; | 74 const int kReorderDroppingCircleRadius = 35; |
| 75 | 75 |
| 76 // Height of separator between the main view and contents switcher and of | 76 // Height of separator between the main view and contents switcher and of |
| 77 // the launcher page indicator. | 77 // the launcher page indicator. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 93 | 93 |
| 94 #if defined(OS_LINUX) | 94 #if defined(OS_LINUX) |
| 95 #if defined(GOOGLE_CHROME_BUILD) | 95 #if defined(GOOGLE_CHROME_BUILD) |
| 96 const char kAppListWMClass[] = "chrome_app_list"; | 96 const char kAppListWMClass[] = "chrome_app_list"; |
| 97 #else // CHROMIUM_BUILD | 97 #else // CHROMIUM_BUILD |
| 98 const char kAppListWMClass[] = "chromium_app_list"; | 98 const char kAppListWMClass[] = "chromium_app_list"; |
| 99 #endif | 99 #endif |
| 100 #endif | 100 #endif |
| 101 | 101 |
| 102 } // namespace app_list | 102 } // namespace app_list |
| OLD | NEW |