| 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 // 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 |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "content/public/common/url_constants.h" | 12 #include "content/public/common/url_constants.h" |
| 13 | 13 |
| 14 namespace chrome { | 14 namespace chrome { |
| 15 | 15 |
| 16 // TODO(msw): Resolve chrome_frame dependency on these constants. | 16 // TODO(msw): Resolve chrome_frame dependency on these constants. |
| 17 extern const char kAboutPluginsURL[]; | 17 extern const char kAboutPluginsURL[]; |
| 18 extern const char kAboutVersionURL[]; | 18 extern const char kAboutVersionURL[]; |
| 19 | 19 |
| 20 // chrome: URLs (including schemes). Should be kept in sync with the | 20 // chrome: URLs (including schemes). Should be kept in sync with the |
| 21 // components below. | 21 // components below. |
| 22 extern const char kChromeUIAboutPageFrameURL[]; | |
| 23 extern const char kChromeUIAboutURL[]; | 22 extern const char kChromeUIAboutURL[]; |
| 24 extern const char kChromeUIBookmarksURL[]; | 23 extern const char kChromeUIBookmarksURL[]; |
| 25 extern const char kChromeUICertificateViewerURL[]; | 24 extern const char kChromeUICertificateViewerURL[]; |
| 26 extern const char kChromeUIChromeURLsURL[]; | 25 extern const char kChromeUIChromeURLsURL[]; |
| 27 extern const char kChromeUICloudPrintResourcesURL[]; | 26 extern const char kChromeUICloudPrintResourcesURL[]; |
| 28 extern const char kChromeUIConflictsURL[]; | 27 extern const char kChromeUIConflictsURL[]; |
| 29 extern const char kChromeUIConstrainedHTMLTestURL[]; | 28 extern const char kChromeUIConstrainedHTMLTestURL[]; |
| 30 extern const char kChromeUICrashesURL[]; | 29 extern const char kChromeUICrashesURL[]; |
| 31 extern const char kChromeUICrashURL[]; | 30 extern const char kChromeUICrashURL[]; |
| 32 extern const char kChromeUICreditsURL[]; | 31 extern const char kChromeUICreditsURL[]; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 extern const char kChromeUIHttpAuthURL[]; | 100 extern const char kChromeUIHttpAuthURL[]; |
| 102 extern const char kChromeUITabModalConfirmDialogURL[]; | 101 extern const char kChromeUITabModalConfirmDialogURL[]; |
| 103 #endif | 102 #endif |
| 104 | 103 |
| 105 #if defined(USE_AURA) | 104 #if defined(USE_AURA) |
| 106 extern const char kChromeUIAppListURL[]; | 105 extern const char kChromeUIAppListURL[]; |
| 107 #endif | 106 #endif |
| 108 | 107 |
| 109 // 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. |
| 110 extern const char kChromeUIAboutHost[]; | 109 extern const char kChromeUIAboutHost[]; |
| 111 extern const char kChromeUIAboutPageFrameHost[]; | |
| 112 extern const char kChromeUIAppCacheInternalsHost[]; | 110 extern const char kChromeUIAppCacheInternalsHost[]; |
| 113 extern const char kChromeUIBlankHost[]; | 111 extern const char kChromeUIBlankHost[]; |
| 114 extern const char kChromeUIBlobInternalsHost[]; | 112 extern const char kChromeUIBlobInternalsHost[]; |
| 115 extern const char kChromeUIBookmarksHost[]; | 113 extern const char kChromeUIBookmarksHost[]; |
| 116 extern const char kChromeUIBrowserCrashHost[]; | 114 extern const char kChromeUIBrowserCrashHost[]; |
| 117 extern const char kChromeUICacheHost[]; | 115 extern const char kChromeUICacheHost[]; |
| 118 extern const char kChromeUICertificateViewerHost[]; | 116 extern const char kChromeUICertificateViewerHost[]; |
| 119 extern const char kChromeUIChromeURLsHost[]; | 117 extern const char kChromeUIChromeURLsHost[]; |
| 120 extern const char kChromeUICloudPrintResourcesHost[]; | 118 extern const char kChromeUICloudPrintResourcesHost[]; |
| 121 extern const char kChromeUICloudPrintSetupHost[]; | 119 extern const char kChromeUICloudPrintSetupHost[]; |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 void RegisterChromeSchemes(); | 331 void RegisterChromeSchemes(); |
| 334 | 332 |
| 335 #if defined(OS_CHROMEOS) | 333 #if defined(OS_CHROMEOS) |
| 336 // "Learn more" URL for the Cloud Print section under Options. | 334 // "Learn more" URL for the Cloud Print section under Options. |
| 337 extern const char kCloudPrintLearnMoreURL[]; | 335 extern const char kCloudPrintLearnMoreURL[]; |
| 338 #endif | 336 #endif |
| 339 | 337 |
| 340 } // namespace chrome | 338 } // namespace chrome |
| 341 | 339 |
| 342 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 340 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |