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