Chromium Code Reviews| 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 kChromeUIAboutURL[]; | 22 extern const char kChromeUIAboutURL[]; | 
| 23 extern const char kChromeUIAboutPageFrameURL[]; | |
| 
 
Dan Beam
2012/01/09 23:05:51
alpha here and below if appropriate (seems to be)
 
Evan Stade
2012/01/09 23:31:16
Done.
 
 | |
| 23 extern const char kChromeUIBookmarksURL[]; | 24 extern const char kChromeUIBookmarksURL[]; | 
| 24 extern const char kChromeUICertificateViewerURL[]; | 25 extern const char kChromeUICertificateViewerURL[]; | 
| 25 extern const char kChromeUIChromeURLsURL[]; | 26 extern const char kChromeUIChromeURLsURL[]; | 
| 26 extern const char kChromeUICloudPrintResourcesURL[]; | 27 extern const char kChromeUICloudPrintResourcesURL[]; | 
| 27 extern const char kChromeUIConflictsURL[]; | 28 extern const char kChromeUIConflictsURL[]; | 
| 28 extern const char kChromeUIConstrainedHTMLTestURL[]; | 29 extern const char kChromeUIConstrainedHTMLTestURL[]; | 
| 29 extern const char kChromeUICrashesURL[]; | 30 extern const char kChromeUICrashesURL[]; | 
| 30 extern const char kChromeUICrashURL[]; | 31 extern const char kChromeUICrashURL[]; | 
| 31 extern const char kChromeUICreditsURL[]; | 32 extern const char kChromeUICreditsURL[]; | 
| 32 extern const char kChromeUIDevToolsURL[]; | 33 extern const char kChromeUIDevToolsURL[]; | 
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 99 extern const char kChromeUICollectedCookiesURL[]; | 100 extern const char kChromeUICollectedCookiesURL[]; | 
| 100 extern const char kChromeUIHttpAuthURL[]; | 101 extern const char kChromeUIHttpAuthURL[]; | 
| 101 extern const char kChromeUITabModalConfirmDialogURL[]; | 102 extern const char kChromeUITabModalConfirmDialogURL[]; | 
| 102 #endif | 103 #endif | 
| 103 | 104 | 
| 104 #if defined(USE_AURA) | 105 #if defined(USE_AURA) | 
| 105 extern const char kChromeUIAppListURL[]; | 106 extern const char kChromeUIAppListURL[]; | 
| 106 #endif | 107 #endif | 
| 107 | 108 | 
| 108 // chrome components of URLs. Should be kept in sync with the full URLs above. | 109 // chrome components of URLs. Should be kept in sync with the full URLs above. | 
| 110 extern const char kChromeUIAboutPageFrameHost[]; | |
| 109 extern const char kChromeUIAboutHost[]; | 111 extern const char kChromeUIAboutHost[]; | 
| 110 extern const char kChromeUIAppCacheInternalsHost[]; | 112 extern const char kChromeUIAppCacheInternalsHost[]; | 
| 111 extern const char kChromeUIBlankHost[]; | 113 extern const char kChromeUIBlankHost[]; | 
| 112 extern const char kChromeUIBlobInternalsHost[]; | 114 extern const char kChromeUIBlobInternalsHost[]; | 
| 113 extern const char kChromeUIBookmarksHost[]; | 115 extern const char kChromeUIBookmarksHost[]; | 
| 114 extern const char kChromeUIBrowserCrashHost[]; | 116 extern const char kChromeUIBrowserCrashHost[]; | 
| 115 extern const char kChromeUICacheHost[]; | 117 extern const char kChromeUICacheHost[]; | 
| 116 extern const char kChromeUICertificateViewerHost[]; | 118 extern const char kChromeUICertificateViewerHost[]; | 
| 117 extern const char kChromeUIChromeURLsHost[]; | 119 extern const char kChromeUIChromeURLsHost[]; | 
| 118 extern const char kChromeUICloudPrintResourcesHost[]; | 120 extern const char kChromeUICloudPrintResourcesHost[]; | 
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 331 void RegisterChromeSchemes(); | 333 void RegisterChromeSchemes(); | 
| 332 | 334 | 
| 333 #if defined(OS_CHROMEOS) | 335 #if defined(OS_CHROMEOS) | 
| 334 // "Learn more" URL for the Cloud Print section under Options. | 336 // "Learn more" URL for the Cloud Print section under Options. | 
| 335 extern const char kCloudPrintLearnMoreURL[]; | 337 extern const char kCloudPrintLearnMoreURL[]; | 
| 336 #endif | 338 #endif | 
| 337 | 339 | 
| 338 } // namespace chrome | 340 } // namespace chrome | 
| 339 | 341 | 
| 340 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 342 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 
| OLD | NEW |