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