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 #ifndef UI_APP_LIST_APP_LIST_CONSTANTS_H_ | 5 #ifndef UI_APP_LIST_APP_LIST_CONSTANTS_H_ |
6 #define UI_APP_LIST_APP_LIST_CONSTANTS_H_ | 6 #define UI_APP_LIST_APP_LIST_CONSTANTS_H_ |
7 | 7 |
8 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
9 #include "ui/app_list/app_list_export.h" | 9 #include "ui/app_list/app_list_export.h" |
10 #include "ui/base/resource/resource_bundle.h" | 10 #include "ui/base/resource/resource_bundle.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 APP_LIST_EXPORT extern size_t kMaxFolderItems; | 78 APP_LIST_EXPORT extern size_t kMaxFolderItems; |
79 APP_LIST_EXPORT extern const size_t kNumFolderTopItems; | 79 APP_LIST_EXPORT extern const size_t kNumFolderTopItems; |
80 APP_LIST_EXPORT extern const size_t kMaxFolderNameChars; | 80 APP_LIST_EXPORT extern const size_t kMaxFolderNameChars; |
81 | 81 |
82 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle; | 82 APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle; |
83 | 83 |
84 APP_LIST_EXPORT extern const char kPageOpenedHistogram[]; | 84 APP_LIST_EXPORT extern const char kPageOpenedHistogram[]; |
85 APP_LIST_EXPORT extern const char kSearchResultOpenDisplayTypeHistogram[]; | 85 APP_LIST_EXPORT extern const char kSearchResultOpenDisplayTypeHistogram[]; |
86 APP_LIST_EXPORT extern const char kSearchQueryLength[]; | 86 APP_LIST_EXPORT extern const char kSearchQueryLength[]; |
| 87 APP_LIST_EXPORT extern const char kSearchResultDistanceFromOrigin[]; |
87 | 88 |
88 #if defined(OS_LINUX) | 89 #if defined(OS_LINUX) |
89 // The WM_CLASS name for the app launcher window on Linux. | 90 // The WM_CLASS name for the app launcher window on Linux. |
90 APP_LIST_EXPORT extern const char kAppListWMClass[]; | 91 APP_LIST_EXPORT extern const char kAppListWMClass[]; |
91 #endif | 92 #endif |
92 | 93 |
93 // Returns the shadow values for a view at |z_height|. | 94 // Returns the shadow values for a view at |z_height|. |
94 gfx::ShadowValue APP_LIST_EXPORT GetShadowForZHeight(int z_height); | 95 gfx::ShadowValue APP_LIST_EXPORT GetShadowForZHeight(int z_height); |
95 | 96 |
96 } // namespace app_list | 97 } // namespace app_list |
97 | 98 |
98 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_ | 99 #endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_ |
OLD | NEW |