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 "chrome/common/chrome_constants.h" | 5 #include "chrome/common/chrome_constants.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 | 8 |
9 #define FPL FILE_PATH_LITERAL | 9 #define FPL FILE_PATH_LITERAL |
10 | 10 |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 220 |
221 #if defined(OS_ANDROID) | 221 #if defined(OS_ANDROID) |
222 const bool kEnableTouchIcon = true; | 222 const bool kEnableTouchIcon = true; |
223 #else | 223 #else |
224 const bool kEnableTouchIcon = false; | 224 const bool kEnableTouchIcon = false; |
225 #endif | 225 #endif |
226 | 226 |
227 const float kMaxShareOfExtensionProcesses = 0.30f; | 227 const float kMaxShareOfExtensionProcesses = 0.30f; |
228 | 228 |
229 #if defined(OS_LINUX) | 229 #if defined(OS_LINUX) |
230 extern const int kLowestRendererOomScore = 300; | 230 const int kLowestRendererOomScore = 300; |
231 extern const int kHighestRendererOomScore = 1000; | 231 const int kHighestRendererOomScore = 1000; |
232 #endif | 232 #endif |
233 | 233 |
234 #if defined(OS_WIN) | 234 #if defined(OS_WIN) |
235 // This is used by the PreRead experiment. | 235 // This is used by the PreRead experiment. |
236 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; | 236 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; |
237 // This is used by chrome in Windows 8 metro mode. | 237 // This is used by chrome in Windows 8 metro mode. |
238 const wchar_t kMetroChromeUserDataSubDir[] = L"Metro"; | 238 const wchar_t kMetroChromeUserDataSubDir[] = L"Metro"; |
239 const wchar_t kMetroNavigationAndSearchMessage[] = | 239 const wchar_t kMetroNavigationAndSearchMessage[] = |
240 L"CHROME_METRO_NAV_SEARCH_REQUEST"; | 240 L"CHROME_METRO_NAV_SEARCH_REQUEST"; |
241 const wchar_t kMetroGetCurrentTabInfoMessage[] = | 241 const wchar_t kMetroGetCurrentTabInfoMessage[] = |
242 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; | 242 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; |
243 const wchar_t kMetroRegistryPath[] = | 243 const wchar_t kMetroRegistryPath[] = |
244 L"Software\\" PRODUCT_STRING_PATH L"\\Metro"; | 244 L"Software\\" PRODUCT_STRING_PATH L"\\Metro"; |
245 const wchar_t kLaunchModeValue[] = L"launch_mode"; | 245 const wchar_t kLaunchModeValue[] = L"launch_mode"; |
246 #endif | 246 #endif |
247 | 247 |
248 } // namespace chrome | 248 } // namespace chrome |
249 | 249 |
250 #undef FPL | 250 #undef FPL |
OLD | NEW |