| 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 // Contains constants for known URLs and portions thereof. | 5 // Contains constants for known URLs and portions thereof. |
| 6 | 6 |
| 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ | 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ |
| 8 #define CHROME_COMMON_URL_CONSTANTS_H_ | 8 #define CHROME_COMMON_URL_CONSTANTS_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 #if defined(FILE_MANAGER_EXTENSION) | 93 #if defined(FILE_MANAGER_EXTENSION) |
| 94 extern const char kChromeUIFileManagerURL[]; | 94 extern const char kChromeUIFileManagerURL[]; |
| 95 #endif | 95 #endif |
| 96 | 96 |
| 97 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 97 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 98 extern const char kChromeUICollectedCookiesURL[]; | 98 extern const char kChromeUICollectedCookiesURL[]; |
| 99 extern const char kChromeUIHttpAuthURL[]; | 99 extern const char kChromeUIHttpAuthURL[]; |
| 100 extern const char kChromeUIRepostFormWarningURL[]; | 100 extern const char kChromeUIRepostFormWarningURL[]; |
| 101 #endif | 101 #endif |
| 102 | 102 |
| 103 #if defined(USE_AURA) |
| 104 extern const char kChromeUIAppListURL[]; |
| 105 #endif |
| 106 |
| 103 // chrome components of URLs. Should be kept in sync with the full URLs above. | 107 // chrome components of URLs. Should be kept in sync with the full URLs above. |
| 104 extern const char kChromeUIAboutHost[]; | 108 extern const char kChromeUIAboutHost[]; |
| 105 extern const char kChromeUIAppCacheInternalsHost[]; | 109 extern const char kChromeUIAppCacheInternalsHost[]; |
| 106 extern const char kChromeUIBlankHost[]; | 110 extern const char kChromeUIBlankHost[]; |
| 107 extern const char kChromeUIBlobInternalsHost[]; | 111 extern const char kChromeUIBlobInternalsHost[]; |
| 108 extern const char kChromeUIBookmarksHost[]; | 112 extern const char kChromeUIBookmarksHost[]; |
| 109 extern const char kChromeUIBrowserCrashHost[]; | 113 extern const char kChromeUIBrowserCrashHost[]; |
| 110 extern const char kChromeUIBugReportHost[]; | 114 extern const char kChromeUIBugReportHost[]; |
| 111 extern const char kChromeUICacheHost[]; | 115 extern const char kChromeUICacheHost[]; |
| 112 extern const char kChromeUICertificateViewerHost[]; | 116 extern const char kChromeUICertificateViewerHost[]; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 #if defined(FILE_MANAGER_EXTENSION) | 221 #if defined(FILE_MANAGER_EXTENSION) |
| 218 extern const char kChromeUIFileManagerHost[]; | 222 extern const char kChromeUIFileManagerHost[]; |
| 219 #endif | 223 #endif |
| 220 | 224 |
| 221 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 225 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 222 extern const char kChromeUICollectedCookiesHost[]; | 226 extern const char kChromeUICollectedCookiesHost[]; |
| 223 extern const char kChromeUIHttpAuthHost[]; | 227 extern const char kChromeUIHttpAuthHost[]; |
| 224 extern const char kChromeUIRepostFormWarningHost[]; | 228 extern const char kChromeUIRepostFormWarningHost[]; |
| 225 #endif | 229 #endif |
| 226 | 230 |
| 231 #if defined(USE_AURA) |
| 232 extern const char kChromeUIAppListHost[]; |
| 233 #endif |
| 234 |
| 227 // Options sub-pages. | 235 // Options sub-pages. |
| 228 extern const char kAdvancedOptionsSubPage[]; | 236 extern const char kAdvancedOptionsSubPage[]; |
| 229 extern const char kAutofillSubPage[]; | 237 extern const char kAutofillSubPage[]; |
| 230 extern const char kBrowserOptionsSubPage[]; | 238 extern const char kBrowserOptionsSubPage[]; |
| 231 extern const char kClearBrowserDataSubPage[]; | 239 extern const char kClearBrowserDataSubPage[]; |
| 232 extern const char kContentSettingsExceptionsSubPage[]; | 240 extern const char kContentSettingsExceptionsSubPage[]; |
| 233 extern const char kContentSettingsSubPage[]; | 241 extern const char kContentSettingsSubPage[]; |
| 234 extern const char kExtensionsSubPage[]; | 242 extern const char kExtensionsSubPage[]; |
| 235 extern const char kHandlerSettingsSubPage[]; | 243 extern const char kHandlerSettingsSubPage[]; |
| 236 extern const char kImportDataSubPage[]; | 244 extern const char kImportDataSubPage[]; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 void RegisterChromeSchemes(); | 308 void RegisterChromeSchemes(); |
| 301 | 309 |
| 302 #if defined(OS_CHROMEOS) | 310 #if defined(OS_CHROMEOS) |
| 303 // "Learn more" URL for the Cloud Print section under Options. | 311 // "Learn more" URL for the Cloud Print section under Options. |
| 304 extern const char kCloudPrintLearnMoreURL[]; | 312 extern const char kCloudPrintLearnMoreURL[]; |
| 305 #endif | 313 #endif |
| 306 | 314 |
| 307 } // namespace chrome | 315 } // namespace chrome |
| 308 | 316 |
| 309 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 317 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |