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