| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 extern const FilePath::CharType kUserScriptsDirname[]; | 64 extern const FilePath::CharType kUserScriptsDirname[]; |
| 65 extern const FilePath::CharType kWebDataFilename[]; | 65 extern const FilePath::CharType kWebDataFilename[]; |
| 66 extern const FilePath::CharType kBookmarksFileName[]; | 66 extern const FilePath::CharType kBookmarksFileName[]; |
| 67 extern const FilePath::CharType kHistoryBookmarksFileName[]; | 67 extern const FilePath::CharType kHistoryBookmarksFileName[]; |
| 68 extern const FilePath::CharType kCustomDictionaryFileName[]; | 68 extern const FilePath::CharType kCustomDictionaryFileName[]; |
| 69 extern const FilePath::CharType kLoginDataFileName[]; | 69 extern const FilePath::CharType kLoginDataFileName[]; |
| 70 extern const FilePath::CharType kJumpListIconDirname[]; | 70 extern const FilePath::CharType kJumpListIconDirname[]; |
| 71 extern const FilePath::CharType kWebAppDirname[]; | 71 extern const FilePath::CharType kWebAppDirname[]; |
| 72 extern const FilePath::CharType kServiceStateFileName[]; | 72 extern const FilePath::CharType kServiceStateFileName[]; |
| 73 | 73 |
| 74 extern const unsigned int kMaxRendererProcessCount; | |
| 75 extern const int kStatsMaxThreads; | 74 extern const int kStatsMaxThreads; |
| 76 extern const int kStatsMaxCounters; | 75 extern const int kStatsMaxCounters; |
| 77 | 76 |
| 78 extern const bool kRecordModeEnabled; | 77 extern const bool kRecordModeEnabled; |
| 79 | 78 |
| 80 // Most sequence numbers are used by a renderer when responding to a browser | 79 // Most sequence numbers are used by a renderer when responding to a browser |
| 81 // request for histogram data. This reserved number is used when a renderer | 80 // request for histogram data. This reserved number is used when a renderer |
| 82 // sends an unprovoked update, such as after a page has been loaded. Using | 81 // sends an unprovoked update, such as after a page has been loaded. Using |
| 83 // this reserved constant avoids any chance of confusion with a response having | 82 // this reserved constant avoids any chance of confusion with a response having |
| 84 // a browser-supplied sequence number. | 83 // a browser-supplied sequence number. |
| 85 extern const int kHistogramSynchronizerReservedSequenceNumber; | 84 extern const int kHistogramSynchronizerReservedSequenceNumber; |
| 86 | 85 |
| 87 // The language code used when the language of a page could not be detected. | 86 // The language code used when the language of a page could not be detected. |
| 88 // (Matches what the CLD -Compact Language Detection- library reports.) | 87 // (Matches what the CLD -Compact Language Detection- library reports.) |
| 89 extern const char* const kUnknownLanguageCode; | 88 extern const char* const kUnknownLanguageCode; |
| 90 | 89 |
| 91 // If another javascript message box is displayed within | 90 // If another javascript message box is displayed within |
| 92 // kJavascriptMessageExpectedDelay of a previous javascript message box being | 91 // kJavascriptMessageExpectedDelay of a previous javascript message box being |
| 93 // dismissed, display an option to suppress future message boxes from this | 92 // dismissed, display an option to suppress future message boxes from this |
| 94 // contents. | 93 // contents. |
| 95 extern const int kJavascriptMessageExpectedDelay; | 94 extern const int kJavascriptMessageExpectedDelay; |
| 96 | 95 |
| 97 // Are touch icons enabled? False by default. | 96 // Are touch icons enabled? False by default. |
| 98 extern const bool kEnableTouchIcon; | 97 extern const bool kEnableTouchIcon; |
| 99 | 98 |
| 100 } // namespace chrome | 99 } // namespace chrome |
| 101 | 100 |
| 102 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 101 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
| OLD | NEW |