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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 #if defined(OS_CHROMEOS) | 91 #if defined(OS_CHROMEOS) |
92 extern const FilePath::CharType kGDataCacheDirname[]; | 92 extern const FilePath::CharType kGDataCacheDirname[]; |
93 #endif // defined(OS_CHROMEOS) | 93 #endif // defined(OS_CHROMEOS) |
94 | 94 |
95 // File name of the Pepper Flash plugin on different platforms. | 95 // File name of the Pepper Flash plugin on different platforms. |
96 extern const FilePath::CharType kPepperFlashPluginFilename[]; | 96 extern const FilePath::CharType kPepperFlashPluginFilename[]; |
97 | 97 |
98 extern const bool kRecordModeEnabled; | 98 extern const bool kRecordModeEnabled; |
99 | 99 |
100 // Most sequence numbers are used by a renderer when responding to a browser | |
101 // request for histogram data. This reserved number is used when a renderer | |
102 // sends an unprovoked update, such as after a page has been loaded. Using | |
103 // this reserved constant avoids any chance of confusion with a response having | |
104 // a browser-supplied sequence number. | |
105 extern const int kHistogramSynchronizerReservedSequenceNumber; | |
106 | |
107 // The language code used when the language of a page could not be detected. | 100 // The language code used when the language of a page could not be detected. |
108 // (Matches what the CLD -Compact Language Detection- library reports.) | 101 // (Matches what the CLD -Compact Language Detection- library reports.) |
109 extern const char* const kUnknownLanguageCode; | 102 extern const char* const kUnknownLanguageCode; |
110 | 103 |
111 // If another javascript message box is displayed within | 104 // If another javascript message box is displayed within |
112 // kJavascriptMessageExpectedDelay of a previous javascript message box being | 105 // kJavascriptMessageExpectedDelay of a previous javascript message box being |
113 // dismissed, display an option to suppress future message boxes from this | 106 // dismissed, display an option to suppress future message boxes from this |
114 // contents. | 107 // contents. |
115 extern const int kJavascriptMessageExpectedDelay; | 108 extern const int kJavascriptMessageExpectedDelay; |
116 | 109 |
(...skipping 21 matching lines...) Expand all Loading... |
138 extern const wchar_t kMetroChromeUserDataSubDir[]; | 131 extern const wchar_t kMetroChromeUserDataSubDir[]; |
139 // Used by Metro Chrome to initiate navigation and search requests. | 132 // Used by Metro Chrome to initiate navigation and search requests. |
140 extern const wchar_t kMetroNavigationAndSearchMessage[]; | 133 extern const wchar_t kMetroNavigationAndSearchMessage[]; |
141 // Used by Metro Chrome to get information about the current tab. | 134 // Used by Metro Chrome to get information about the current tab. |
142 extern const wchar_t kMetroGetCurrentTabInfoMessage[]; | 135 extern const wchar_t kMetroGetCurrentTabInfoMessage[]; |
143 #endif | 136 #endif |
144 | 137 |
145 } // namespace chrome | 138 } // namespace chrome |
146 | 139 |
147 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 140 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |