| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // About URLs (including schemes). | 38 // About URLs (including schemes). |
| 39 extern const char kAboutAboutURL[]; | 39 extern const char kAboutAboutURL[]; |
| 40 extern const char kAboutAppCacheInternalsURL[]; | 40 extern const char kAboutAppCacheInternalsURL[]; |
| 41 extern const char kAboutBlankURL[]; | 41 extern const char kAboutBlankURL[]; |
| 42 extern const char kAboutBrowserCrash[]; | 42 extern const char kAboutBrowserCrash[]; |
| 43 extern const char kAboutCacheURL[]; | 43 extern const char kAboutCacheURL[]; |
| 44 extern const char kAboutCrashURL[]; | 44 extern const char kAboutCrashURL[]; |
| 45 extern const char kAboutCreditsURL[]; | 45 extern const char kAboutCreditsURL[]; |
| 46 extern const char kAboutDNSURL[]; | 46 extern const char kAboutDNSURL[]; |
| 47 extern const char kAboutFlagsURL[]; |
| 47 extern const char kAboutGpuCrashURL[]; | 48 extern const char kAboutGpuCrashURL[]; |
| 48 extern const char kAboutGpuHangURL[]; | 49 extern const char kAboutGpuHangURL[]; |
| 49 extern const char kAboutHangURL[]; | 50 extern const char kAboutHangURL[]; |
| 50 extern const char kAboutHistogramsURL[]; | 51 extern const char kAboutHistogramsURL[]; |
| 51 extern const char kAboutLabsURL[]; | |
| 52 extern const char kAboutMemoryURL[]; | 52 extern const char kAboutMemoryURL[]; |
| 53 extern const char kAboutNetInternalsURL[]; | 53 extern const char kAboutNetInternalsURL[]; |
| 54 extern const char kAboutPluginsURL[]; | 54 extern const char kAboutPluginsURL[]; |
| 55 extern const char kAboutShorthangURL[]; | 55 extern const char kAboutShorthangURL[]; |
| 56 extern const char kAboutTermsURL[]; | 56 extern const char kAboutTermsURL[]; |
| 57 extern const char kAboutVaporwareURL[]; | 57 extern const char kAboutVaporwareURL[]; |
| 58 extern const char kAboutVersionURL[]; | 58 extern const char kAboutVersionURL[]; |
| 59 | 59 |
| 60 // chrome: URLs (including schemes). Should be kept in sync with the | 60 // chrome: URLs (including schemes). Should be kept in sync with the |
| 61 // components below. | 61 // components below. |
| 62 extern const char kChromeUIAboutURL[]; | 62 extern const char kChromeUIAboutURL[]; |
| 63 extern const char kChromeUIAppLauncherURL[]; | 63 extern const char kChromeUIAppLauncherURL[]; |
| 64 extern const char kChromeUIBookmarksURL[]; | 64 extern const char kChromeUIBookmarksURL[]; |
| 65 extern const char kChromeUIBugReportURL[]; | 65 extern const char kChromeUIBugReportURL[]; |
| 66 extern const char kChromeUIDevToolsURL[]; | 66 extern const char kChromeUIDevToolsURL[]; |
| 67 extern const char kChromeUIDownloadsURL[]; | 67 extern const char kChromeUIDownloadsURL[]; |
| 68 extern const char kChromeUIExtensionsURL[]; | 68 extern const char kChromeUIExtensionsURL[]; |
| 69 extern const char kChromeUIFlagsURL[]; |
| 69 extern const char kChromeUIFavIconURL[]; | 70 extern const char kChromeUIFavIconURL[]; |
| 70 extern const char kChromeUIHistory2URL[]; | 71 extern const char kChromeUIHistory2URL[]; |
| 71 extern const char kChromeUIHistoryURL[]; | 72 extern const char kChromeUIHistoryURL[]; |
| 72 extern const char kChromeUIIPCURL[]; | 73 extern const char kChromeUIIPCURL[]; |
| 73 extern const char kChromeUIKeyboardURL[]; | 74 extern const char kChromeUIKeyboardURL[]; |
| 74 extern const char kChromeUILabsURL[]; | |
| 75 extern const char kChromeUINewTabURL[]; | 75 extern const char kChromeUINewTabURL[]; |
| 76 extern const char kChromeUIPluginsURL[]; | 76 extern const char kChromeUIPluginsURL[]; |
| 77 extern const char kChromeUIPrintURL[]; | 77 extern const char kChromeUIPrintURL[]; |
| 78 extern const char kChromeUISettingsURL[]; | 78 extern const char kChromeUISettingsURL[]; |
| 79 | 79 |
| 80 #if defined(OS_CHROMEOS) | 80 #if defined(OS_CHROMEOS) |
| 81 extern const char kChromeUIFileBrowseURL[]; | 81 extern const char kChromeUIFileBrowseURL[]; |
| 82 extern const char kChromeUIImageBurnerURL[]; | 82 extern const char kChromeUIImageBurnerURL[]; |
| 83 extern const char kChromeUIMediaplayerURL[]; | 83 extern const char kChromeUIMediaplayerURL[]; |
| 84 extern const char kChromeUIMobileSetupURL[]; | 84 extern const char kChromeUIMobileSetupURL[]; |
| 85 extern const char kChromeUIRegisterPageURL[]; | 85 extern const char kChromeUIRegisterPageURL[]; |
| 86 extern const char kChromeUISlideshowURL[]; | 86 extern const char kChromeUISlideshowURL[]; |
| 87 extern const char kChromeUISystemInfoURL[]; | 87 extern const char kChromeUISystemInfoURL[]; |
| 88 #endif | 88 #endif |
| 89 | 89 |
| 90 // chrome components of URLs. Should be kept in sync with the full URLs | 90 // chrome components of URLs. Should be kept in sync with the full URLs |
| 91 // above. | 91 // above. |
| 92 extern const char kChromeUIBookmarksHost[]; | 92 extern const char kChromeUIBookmarksHost[]; |
| 93 extern const char kChromeUIBugReportHost[]; | 93 extern const char kChromeUIBugReportHost[]; |
| 94 extern const char kChromeUIDevToolsHost[]; | 94 extern const char kChromeUIDevToolsHost[]; |
| 95 extern const char kChromeUIDialogHost[]; | 95 extern const char kChromeUIDialogHost[]; |
| 96 extern const char kChromeUIDownloadsHost[]; | 96 extern const char kChromeUIDownloadsHost[]; |
| 97 extern const char kChromeUIExtensionsHost[]; | 97 extern const char kChromeUIExtensionsHost[]; |
| 98 extern const char kChromeUIFavIconHost[]; | 98 extern const char kChromeUIFavIconHost[]; |
| 99 extern const char kChromeUIFlagsHost[]; |
| 99 extern const char kChromeUIHistory2Host[]; | 100 extern const char kChromeUIHistory2Host[]; |
| 100 extern const char kChromeUIHistoryHost[]; | 101 extern const char kChromeUIHistoryHost[]; |
| 101 extern const char kChromeUIInspectorHost[]; | 102 extern const char kChromeUIInspectorHost[]; |
| 102 extern const char kChromeUIKeyboardHost[]; | 103 extern const char kChromeUIKeyboardHost[]; |
| 103 extern const char kChromeUILabsHost[]; | |
| 104 extern const char kChromeUINetInternalsHost[]; | 104 extern const char kChromeUINetInternalsHost[]; |
| 105 extern const char kChromeUINewTabHost[]; | 105 extern const char kChromeUINewTabHost[]; |
| 106 extern const char kChromeUIPluginsHost[]; | 106 extern const char kChromeUIPluginsHost[]; |
| 107 extern const char kChromeUIPrintHost[]; | 107 extern const char kChromeUIPrintHost[]; |
| 108 extern const char kChromeUIRemotingHost[]; | 108 extern const char kChromeUIRemotingHost[]; |
| 109 extern const char kChromeUIRemotingResourcesHost[]; | 109 extern const char kChromeUIRemotingResourcesHost[]; |
| 110 extern const char kChromeUIResourcesHost[]; | 110 extern const char kChromeUIResourcesHost[]; |
| 111 extern const char kChromeUIScreenshotPath[]; | 111 extern const char kChromeUIScreenshotPath[]; |
| 112 extern const char kChromeUISettingsHost[]; | 112 extern const char kChromeUISettingsHost[]; |
| 113 extern const char kChromeUISyncResourcesHost[]; | 113 extern const char kChromeUISyncResourcesHost[]; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 extern const char kInternetOptionsSubPage[]; | 156 extern const char kInternetOptionsSubPage[]; |
| 157 #endif | 157 #endif |
| 158 | 158 |
| 159 // Call near the beginning of startup to register Chrome's internal URLs that | 159 // Call near the beginning of startup to register Chrome's internal URLs that |
| 160 // should be parsed as "standard" with the googleurl library. | 160 // should be parsed as "standard" with the googleurl library. |
| 161 void RegisterChromeSchemes(); | 161 void RegisterChromeSchemes(); |
| 162 | 162 |
| 163 } // namespace chrome | 163 } // namespace chrome |
| 164 | 164 |
| 165 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 165 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |