| 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 // A handful of resource-like constants related to the Chrome application. | 5 // A handful of resource-like constants related to the Chrome application. |
| 6 | 6 |
| 7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ | 7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ |
| 8 #define CHROME_COMMON_CHROME_CONSTANTS_H_ | 8 #define CHROME_COMMON_CHROME_CONSTANTS_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 // If another javascript message box is displayed within | 93 // If another javascript message box is displayed within |
| 94 // kJavascriptMessageExpectedDelay of a previous javascript message box being | 94 // kJavascriptMessageExpectedDelay of a previous javascript message box being |
| 95 // dismissed, display an option to suppress future message boxes from this | 95 // dismissed, display an option to suppress future message boxes from this |
| 96 // contents. | 96 // contents. |
| 97 extern const int kJavascriptMessageExpectedDelay; | 97 extern const int kJavascriptMessageExpectedDelay; |
| 98 | 98 |
| 99 // Are touch icons enabled? False by default. | 99 // Are touch icons enabled? False by default. |
| 100 extern const bool kEnableTouchIcon; | 100 extern const bool kEnableTouchIcon; |
| 101 | 101 |
| 102 #if defined(OS_LINUX) |
| 103 // The highest and lowest assigned OOM score adjustment |
| 104 // (oom_score_adj) used by the OomPriority Manager. |
| 105 extern const int kLowestRendererOomScore; |
| 106 extern const int kHighestRendererOomScore; |
| 107 #endif |
| 108 |
| 102 } // namespace chrome | 109 } // namespace chrome |
| 103 | 110 |
| 104 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 111 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
| OLD | NEW |