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 // 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 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 extern const base::FilePath::CharType kWebAppDirname[]; | 86 extern const base::FilePath::CharType kWebAppDirname[]; |
87 | 87 |
88 // File name of the Pepper Flash plugin on different platforms. | 88 // File name of the Pepper Flash plugin on different platforms. |
89 extern const base::FilePath::CharType kPepperFlashPluginFilename[]; | 89 extern const base::FilePath::CharType kPepperFlashPluginFilename[]; |
90 | 90 |
91 // directory names | 91 // directory names |
92 extern const wchar_t kUserDataDirname[]; | 92 extern const wchar_t kUserDataDirname[]; |
93 | 93 |
94 extern const bool kRecordModeEnabled; | 94 extern const bool kRecordModeEnabled; |
95 | 95 |
96 // The language code used when the language of a page could not be detected. | |
97 // (Matches what the CLD -Compact Language Detection- library reports.) | |
98 extern const char* const kUnknownLanguageCode; | |
99 | |
100 // If a WebContents is impolite and displays a second JavaScript alert within | 96 // If a WebContents is impolite and displays a second JavaScript alert within |
101 // kJavaScriptMessageExpectedDelay of a previous JavaScript alert being | 97 // kJavaScriptMessageExpectedDelay of a previous JavaScript alert being |
102 // dismissed, display an option to suppress future alerts from this WebContents. | 98 // dismissed, display an option to suppress future alerts from this WebContents. |
103 extern const int kJavaScriptMessageExpectedDelay; | 99 extern const int kJavaScriptMessageExpectedDelay; |
104 | 100 |
105 // Are touch icons enabled? False by default. | 101 // Are touch icons enabled? False by default. |
106 extern const bool kEnableTouchIcon; | 102 extern const bool kEnableTouchIcon; |
107 | 103 |
108 // Fraction of the total number of processes to be used for hosting | 104 // Fraction of the total number of processes to be used for hosting |
109 // extensions. If we have more extensions than this percentage, we will start | 105 // extensions. If we have more extensions than this percentage, we will start |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 // This must be kept in sync with TestingProfile::kTestUserProfileDir. | 147 // This must be kept in sync with TestingProfile::kTestUserProfileDir. |
152 extern const char kTestUserProfileDir[]; | 148 extern const char kTestUserProfileDir[]; |
153 #endif | 149 #endif |
154 | 150 |
155 // Used to identify the application to the system AV function in Windows. | 151 // Used to identify the application to the system AV function in Windows. |
156 extern const char kApplicationClientIDStringForAVScanning[]; | 152 extern const char kApplicationClientIDStringForAVScanning[]; |
157 | 153 |
158 } // namespace chrome | 154 } // namespace chrome |
159 | 155 |
160 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 156 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |