OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 #else | 167 #else |
168 const bool kRecordModeEnabled = false; | 168 const bool kRecordModeEnabled = false; |
169 #endif | 169 #endif |
170 | 170 |
171 const int kHistogramSynchronizerReservedSequenceNumber = 0; | 171 const int kHistogramSynchronizerReservedSequenceNumber = 0; |
172 | 172 |
173 const char* const kUnknownLanguageCode = "und"; | 173 const char* const kUnknownLanguageCode = "und"; |
174 | 174 |
175 const int kJavascriptMessageExpectedDelay = 1000; | 175 const int kJavascriptMessageExpectedDelay = 1000; |
176 | 176 |
177 #ifdef TOUCH_UI | |
178 const bool kEnableTouchIcon = true; | |
179 #else | |
180 const bool kEnableTouchIcon = false; | 177 const bool kEnableTouchIcon = false; |
181 #endif | |
182 | 178 |
183 #if defined(OS_LINUX) | 179 #if defined(OS_LINUX) |
184 extern const int kLowestRendererOomScore = 300; | 180 extern const int kLowestRendererOomScore = 300; |
185 extern const int kHighestRendererOomScore = 1000; | 181 extern const int kHighestRendererOomScore = 1000; |
186 #endif | 182 #endif |
187 | 183 |
188 #if defined(OS_WIN) | 184 #if defined(OS_WIN) |
189 // This is used by the PreRead experiment. | 185 // This is used by the PreRead experiment. |
190 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; | 186 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; |
191 #endif | 187 #endif |
192 | 188 |
193 } // namespace chrome | 189 } // namespace chrome |
194 | 190 |
195 #undef FPL | 191 #undef FPL |
OLD | NEW |