Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | // Contains constants for known URLs and portions thereof. |
| 6 | |
| 7 | #ifndef CHROME_COMMON_URL_CONSTANTS_H_ |
| 8 | #define CHROME_COMMON_URL_CONSTANTS_H_ |
| 9 | |
| 10 | #include "build/build_config.h" |
| 11 | #include "content/public/common/url_constants.h" |
| 12 | |
| 13 | namespace chrome { |
| 14 | |
| 15 | // TODO(msw): Resolve chrome_frame dependency on these constants. |
| 16 | extern const char kAboutPluginsURL[]; |
| 17 | extern const char kAboutVersionURL[]; |
| 18 | |
| 19 | // chrome: URLs (including schemes). Should be kept in sync with the |
| 20 | // components below. |
| 21 | extern const char kChromeUIAboutURL[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 22 | extern const char kChromeUIAppsURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 23 | extern const char kChromeUIBookmarksURL[]; |
| 24 | extern const char kChromeUICertificateViewerURL[]; |
| 25 | extern const char kChromeUIChromeURLsURL[]; |
| 26 | extern const char kChromeUICloudPrintResourcesURL[]; |
| 27 | extern const char kChromeUIConflictsURL[]; |
| 28 | extern const char kChromeUIConstrainedHTMLTestURL[]; |
| 29 | extern const char kChromeUICrashesURL[]; |
| 30 | extern const char kChromeUICreditsURL[]; |
| 31 | extern const char kChromeUIDevToolsURL[]; |
| 32 | extern const char kChromeUIDownloadsURL[]; |
| 33 | extern const char kChromeUIEditSearchEngineDialogURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 34 | extern const char kChromeUIExtensionIconURL[]; |
| 35 | extern const char kChromeUIExtensionInfoURL[]; |
| 36 | extern const char kChromeUIExtensionsFrameURL[]; |
| 37 | extern const char kChromeUIExtensionsURL[]; |
| 38 | extern const char kChromeUIFaviconURL[]; |
| 39 | extern const char kChromeUIFeedbackURL[]; |
| 40 | extern const char kChromeUIFlagsURL[]; |
| 41 | extern const char kChromeUIFlashURL[]; |
| 42 | extern const char kChromeUIHelpFrameURL[]; |
| 43 | extern const char kChromeUIHistoryURL[]; |
| 44 | extern const char kChromeUIHistoryFrameURL[]; |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 45 | extern const char kChromeUIIdentityInternalsURL[]; |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 46 | extern const char kChromeUIInlineLoginURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 47 | extern const char kChromeUIInspectURL[]; |
| 48 | extern const char kChromeUIInstantURL[]; |
| 49 | extern const char kChromeUIIPCURL[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 50 | extern const char kChromeUIManagedUserPassphrasePageURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 51 | extern const char kChromeUIMemoryRedirectURL[]; |
| 52 | extern const char kChromeUIMemoryURL[]; |
| 53 | extern const char kChromeUIMetroFlowURL[]; |
| 54 | extern const char kChromeUINaClURL[]; |
| 55 | extern const char kChromeUINetInternalsURL[]; |
| 56 | extern const char kChromeUINewProfile[]; |
| 57 | extern const char kChromeUINewTabURL[]; |
| 58 | extern const char kChromeUIOmniboxURL[]; |
| 59 | extern const char kChromeUIPerformanceMonitorURL[]; |
| 60 | extern const char kChromeUIPluginsURL[]; |
| 61 | extern const char kChromeUIPolicyURL[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 62 | extern const char kChromeUIProfileSigninConfirmationURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 63 | extern const char kChromeUIPrintURL[]; |
| 64 | extern const char kChromeUISessionFaviconURL[]; |
| 65 | extern const char kChromeUISettingsURL[]; |
| 66 | extern const char kChromeUISettingsFrameURL[]; |
| 67 | extern const char kChromeUISuggestionsInternalsURL[]; |
| 68 | extern const char kChromeUISSLClientCertificateSelectorURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 69 | extern const char kChromeUITaskManagerURL[]; |
| 70 | extern const char kChromeUITermsURL[]; |
| 71 | extern const char kChromeUIThemeURL[]; |
| 72 | extern const char kChromeUIThumbnailURL[]; |
| 73 | extern const char kChromeUIUberURL[]; |
| 74 | extern const char kChromeUIUberFrameURL[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 75 | extern const char kChromeUIUserActionsURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 76 | extern const char kChromeUIVersionURL[]; |
| 77 | |
| 78 | #if defined(OS_ANDROID) |
| 79 | extern const char kChromeUIWelcomeURL[]; |
| 80 | #endif |
| 81 | |
| 82 | #if defined(OS_CHROMEOS) |
| 83 | extern const char kChromeUIActivationMessage[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 84 | extern const char kChromeUIAppLaunchURL[]; |
| 85 | extern const char kChromeUIBluetoothPairingURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 86 | extern const char kChromeUIChooseMobileNetworkURL[]; |
| 87 | extern const char kChromeUIDiagnosticsURL[]; |
| 88 | extern const char kChromeUIDiscardsURL[]; |
| 89 | extern const char kChromeUIIdleLogoutDialogURL[]; |
| 90 | extern const char kChromeUIImageBurnerURL[]; |
| 91 | extern const char kChromeUIKeyboardOverlayURL[]; |
| 92 | extern const char kChromeUILockScreenURL[]; |
| 93 | extern const char kChromeUIMediaplayerURL[]; |
| 94 | extern const char kChromeUIMobileSetupURL[]; |
| 95 | extern const char kChromeUIOobeURL[]; |
| 96 | extern const char kChromeUIOSCreditsURL[]; |
| 97 | extern const char kChromeUIProxySettingsURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 98 | extern const char kChromeUISimUnlockURL[]; |
| 99 | extern const char kChromeUISlideshowURL[]; |
| 100 | extern const char kChromeUISystemInfoURL[]; |
| 101 | extern const char kChromeUITermsOemURL[]; |
| 102 | extern const char kChromeUIUserImageURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 103 | #endif |
| 104 | |
| 105 | #if defined(USE_ASH) |
| 106 | extern const char kChromeUITransparencyURL[]; |
| 107 | #endif |
| 108 | |
| 109 | #if defined(FILE_MANAGER_EXTENSION) |
| 110 | extern const char kChromeUIFileManagerURL[]; |
| 111 | #endif |
| 112 | |
| 113 | #if defined(USE_AURA) |
| 114 | extern const char kChromeUIGestureConfigURL[]; |
| 115 | extern const char kChromeUIGestureConfigHost[]; |
| 116 | #endif |
| 117 | |
| 118 | #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 119 | extern const char kChromeUITabModalConfirmDialogURL[]; |
| 120 | #endif |
| 121 | |
| 122 | // chrome components of URLs. Should be kept in sync with the full URLs above. |
| 123 | extern const char kChromeUIAboutHost[]; |
| 124 | extern const char kChromeUIAboutPageFrameHost[]; |
| 125 | extern const char kChromeUIBlankHost[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 126 | extern const char kChromeUIAppLauncherPageHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 127 | extern const char kChromeUIBookmarksHost[]; |
| 128 | extern const char kChromeUICacheHost[]; |
| 129 | extern const char kChromeUICertificateViewerHost[]; |
| 130 | extern const char kChromeUIChromeURLsHost[]; |
| 131 | extern const char kChromeUICloudPrintResourcesHost[]; |
| 132 | extern const char kChromeUICloudPrintSetupHost[]; |
| 133 | extern const char kChromeUIConflictsHost[]; |
| 134 | extern const char kChromeUIConstrainedHTMLTestHost[]; |
| 135 | extern const char kChromeUICrashesHost[]; |
| 136 | extern const char kChromeUICrashHost[]; |
| 137 | extern const char kChromeUICreditsHost[]; |
| 138 | extern const char kChromeUIDefaultHost[]; |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 139 | extern const char kChromeUIDevToolsHost[]; |
| 140 | extern const char kChromeUIDevToolsBundledPath[]; |
| 141 | extern const char kChromeUIDevToolsRemotePath[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 142 | extern const char kChromeUIDNSHost[]; |
| 143 | extern const char kChromeUIDownloadsHost[]; |
| 144 | extern const char kChromeUIDriveInternalsHost[]; |
| 145 | extern const char kChromeUIEditSearchEngineDialogHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 146 | extern const char kChromeUIExtensionIconHost[]; |
| 147 | extern const char kChromeUIExtensionInfoHost[]; |
| 148 | extern const char kChromeUIExtensionsFrameHost[]; |
| 149 | extern const char kChromeUIExtensionsHost[]; |
| 150 | extern const char kChromeUIFaviconHost[]; |
| 151 | extern const char kChromeUIFeedbackHost[]; |
| 152 | extern const char kChromeUIFlagsHost[]; |
| 153 | extern const char kChromeUIFlashHost[]; |
| 154 | extern const char kChromeUIHelpFrameHost[]; |
| 155 | extern const char kChromeUIHelpHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 156 | extern const char kChromeUIHangHost[]; |
| 157 | extern const char kChromeUIHistoryHost[]; |
| 158 | extern const char kChromeUIHistoryFrameHost[]; |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 159 | extern const char kChromeUIIdentityInternalsHost[]; |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 160 | extern const char kChromeUIInlineLoginHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 161 | extern const char kChromeUIInspectHost[]; |
| 162 | extern const char kChromeUIInstantHost[]; |
| 163 | extern const char kChromeUIIPCHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 164 | extern const char kChromeUIKillHost[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 165 | extern const char kChromeUIManagedUserPassphrasePageHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 166 | extern const char kChromeUIMemoryHost[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 167 | extern const char kChromeUIMemoryInternalsHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 168 | extern const char kChromeUIMemoryRedirectHost[]; |
| 169 | extern const char kChromeUIMetroFlowHost[]; |
| 170 | extern const char kChromeUINaClHost[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 171 | extern const char kChromeUINetExportHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 172 | extern const char kChromeUINetInternalsHost[]; |
| 173 | extern const char kChromeUINewTabHost[]; |
| 174 | extern const char kChromeUIOmniboxHost[]; |
| 175 | extern const char kChromeUIPerformanceMonitorHost[]; |
| 176 | extern const char kChromeUIPluginsHost[]; |
| 177 | extern const char kChromeUIPolicyHost[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 178 | extern const char kChromeUIProfileSigninConfirmationHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 179 | extern const char kChromeUIPredictorsHost[]; |
| 180 | extern const char kChromeUIPrintHost[]; |
| 181 | extern const char kChromeUIProfilerHost[]; |
| 182 | extern const char kChromeUIQuotaInternalsHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 183 | extern const char kChromeUISessionFaviconHost[]; |
| 184 | extern const char kChromeUISettingsHost[]; |
| 185 | extern const char kChromeUISettingsFrameHost[]; |
| 186 | extern const char kChromeUIShorthangHost[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 187 | extern const char kChromeUISignInInternalsHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 188 | extern const char kChromeUISuggestionsInternalsHost[]; |
| 189 | extern const char kChromeUISSLClientCertificateSelectorHost[]; |
| 190 | extern const char kChromeUIStatsHost[]; |
| 191 | extern const char kChromeUISyncHost[]; |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 192 | extern const char kChromeUISyncFileSystemInternalsHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 193 | extern const char kChromeUISyncInternalsHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 194 | extern const char kChromeUISyncResourcesHost[]; |
| 195 | extern const char kChromeUITaskManagerHost[]; |
| 196 | extern const char kChromeUITermsHost[]; |
| 197 | extern const char kChromeUIThemeHost[]; |
| 198 | extern const char kChromeUIThumbnailHost[]; |
| 199 | extern const char kChromeUITouchIconHost[]; |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 200 | extern const char kChromeUITranslateInternalsHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 201 | extern const char kChromeUIUberFrameHost[]; |
| 202 | extern const char kChromeUIUberHost[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 203 | extern const char kChromeUIUserActionsHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 204 | extern const char kChromeUIVersionHost[]; |
| 205 | extern const char kChromeUIWorkersHost[]; |
| 206 | |
| 207 | extern const char kChromeUIScreenshotPath[]; |
| 208 | extern const char kChromeUIThemePath[]; |
| 209 | |
| 210 | #if defined(OS_ANDROID) |
| 211 | extern const char kChromeUIWelcomeHost[]; |
| 212 | #endif |
| 213 | |
| 214 | #if defined(OS_LINUX) || defined(OS_OPENBSD) |
| 215 | extern const char kChromeUILinuxProxyConfigHost[]; |
| 216 | extern const char kChromeUISandboxHost[]; |
| 217 | #endif |
| 218 | |
| 219 | #if defined(OS_CHROMEOS) |
| 220 | extern const char kChromeUIActivationMessageHost[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 221 | extern const char kChromeUIAppLaunchHost[]; |
| 222 | extern const char kChromeUIBluetoothPairingHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 223 | extern const char kChromeUIChooseMobileNetworkHost[]; |
| 224 | extern const char kChromeUICryptohomeHost[]; |
| 225 | extern const char kChromeUIDiagnosticsHost[]; |
| 226 | extern const char kChromeUIDiscardsHost[]; |
| 227 | extern const char kChromeUIIdleLogoutDialogHost[]; |
| 228 | extern const char kChromeUIImageBurnerHost[]; |
| 229 | extern const char kChromeUIKeyboardOverlayHost[]; |
| 230 | extern const char kChromeUILockScreenHost[]; |
| 231 | extern const char kChromeUILoginContainerHost[]; |
| 232 | extern const char kChromeUILoginHost[]; |
| 233 | extern const char kChromeUIMediaplayerHost[]; |
| 234 | extern const char kChromeUIMobileSetupHost[]; |
| 235 | extern const char kChromeUINetworkHost[]; |
| 236 | extern const char kChromeUIOobeHost[]; |
| 237 | extern const char kChromeUIOSCreditsHost[]; |
| 238 | extern const char kChromeUIProxySettingsHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 239 | extern const char kChromeUIRotateHost[]; |
| 240 | extern const char kChromeUISimUnlockHost[]; |
| 241 | extern const char kChromeUISlideshowHost[]; |
| 242 | extern const char kChromeUISystemInfoHost[]; |
| 243 | extern const char kChromeUIUserImageHost[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 244 | |
| 245 | extern const char kChromeUIMenu[]; |
| 246 | extern const char kChromeUINetworkMenu[]; |
| 247 | extern const char kChromeUIWrenchMenu[]; |
| 248 | |
| 249 | extern const char kEULAPathFormat[]; |
| 250 | extern const char kOemEulaURLPath[]; |
Torne (Richard Coles) | a93a17c | 2013-05-15 11:34:50 +0100 | [diff] [blame] | 251 | extern const char kOnlineEulaURLPath[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 252 | #endif |
| 253 | |
| 254 | #if defined(USE_ASH) |
| 255 | extern const char kChromeUITransparencyHost[]; |
| 256 | #endif |
| 257 | |
| 258 | #if defined(FILE_MANAGER_EXTENSION) |
| 259 | extern const char kChromeUIFileManagerHost[]; |
| 260 | #endif |
| 261 | |
| 262 | #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 263 | extern const char kChromeUITabModalConfirmDialogHost[]; |
| 264 | #endif |
| 265 | |
| 266 | // Options sub-pages. |
| 267 | extern const char kAutofillSubPage[]; |
| 268 | extern const char kClearBrowserDataSubPage[]; |
| 269 | extern const char kContentSettingsExceptionsSubPage[]; |
| 270 | extern const char kContentSettingsSubPage[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 271 | extern const char kCreateProfileSubPage[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 272 | extern const char kExtensionsSubPage[]; |
| 273 | extern const char kHandlerSettingsSubPage[]; |
| 274 | extern const char kImportDataSubPage[]; |
| 275 | extern const char kLanguageOptionsSubPage[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 276 | extern const char kManagedUserSettingsSubPage[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 277 | extern const char kManageProfileSubPage[]; |
| 278 | extern const char kPasswordManagerSubPage[]; |
| 279 | extern const char kSearchEnginesSubPage[]; |
| 280 | extern const char kSearchSubPage[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 281 | extern const char kSearchUsersSubPage[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 282 | extern const char kSyncSetupSubPage[]; |
| 283 | #if defined(OS_CHROMEOS) |
| 284 | extern const char kInternetOptionsSubPage[]; |
| 285 | extern const char kBluetoothAddDeviceSubPage[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 286 | extern const char kChangeProfilePictureSubPage[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 287 | #endif |
| 288 | |
| 289 | // Extensions sub pages. |
| 290 | extern const char kExtensionConfigureCommandsSubPage[]; |
| 291 | |
| 292 | // URLs used to indicate that an extension resource load request |
| 293 | // was invalid. |
| 294 | extern const char kExtensionInvalidRequestURL[]; |
| 295 | extern const char kExtensionResourceInvalidRequestURL[]; |
| 296 | |
| 297 | extern const char kSyncGoogleDashboardURL[]; |
| 298 | |
| 299 | // "Learn more" URL for the auto password generation. |
| 300 | extern const char kAutoPasswordGenerationLearnMoreURL[]; |
| 301 | |
| 302 | extern const char kPasswordManagerLearnMoreURL[]; |
| 303 | |
| 304 | // General help links for Chrome, opened using various actions. |
| 305 | extern const char kChromeHelpViaKeyboardURL[]; |
| 306 | extern const char kChromeHelpViaMenuURL[]; |
| 307 | extern const char kChromeHelpViaWebUIURL[]; |
| 308 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 309 | #if defined(OS_CHROMEOS) |
| 310 | // Accessibility help link for Chrome. |
| 311 | extern const char kChromeAccessibilityHelpURL[]; |
| 312 | #endif |
| 313 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 314 | // "Learn more" URL for the one click signin infobar. |
| 315 | extern const char kChromeSyncLearnMoreURL[]; |
| 316 | |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 317 | // "Learn more" URL for the enterprise sign-in confirmation dialog. |
| 318 | extern const char kChromeEnterpriseSignInLearnMoreURL[]; |
| 319 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 320 | // Help URL for the settings page's search feature. |
| 321 | extern const char kSettingsSearchHelpURL[]; |
| 322 | |
| 323 | // "About" URL for the translate bar's options menu. |
| 324 | extern const char kAboutGoogleTranslateURL[]; |
| 325 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 326 | // Help URL for the Omnibox setting. |
| 327 | extern const char kOmniboxLearnMoreURL[]; |
| 328 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 329 | // "What do these mean?" URL for the Page Info bubble. |
| 330 | extern const char kPageInfoHelpCenterURL[]; |
| 331 | |
| 332 | // "Learn more" URL for "Aw snap" page. |
| 333 | extern const char kCrashReasonURL[]; |
| 334 | |
| 335 | // "Learn more" URL for killed tab page. |
| 336 | extern const char kKillReasonURL[]; |
| 337 | |
| 338 | // "Learn more" URL for the Privacy section under Options. |
| 339 | extern const char kPrivacyLearnMoreURL[]; |
| 340 | |
| 341 | // "Learn more" URL for the "Do not track" setting in the privacy section. |
| 342 | extern const char kDoNotTrackLearnMoreURL[]; |
| 343 | |
| 344 | // The URL for the Chromium project used in the About dialog. |
| 345 | extern const char kChromiumProjectURL[]; |
| 346 | |
| 347 | // The URL for the "Learn more" page for the usage/crash reporting option in the |
| 348 | // first run dialog. |
| 349 | extern const char kLearnMoreReportingURL[]; |
| 350 | |
| 351 | // The URL for the "Learn more" page for the outdated plugin infobar. |
| 352 | extern const char kOutdatedPluginLearnMoreURL[]; |
| 353 | |
| 354 | // The URL for the "Learn more" page for the blocked plugin infobar. |
| 355 | extern const char kBlockedPluginLearnMoreURL[]; |
| 356 | |
| 357 | // The URL for the "About Voice Recognition" menu item. |
| 358 | extern const char kSpeechInputAboutURL[]; |
| 359 | |
| 360 | // The URL for the "Learn more" page for register protocol handler infobars. |
| 361 | extern const char kLearnMoreRegisterProtocolHandlerURL[]; |
| 362 | |
| 363 | // The URL for the "Learn more" page for sync setup on the personal stuff page. |
| 364 | extern const char kSyncLearnMoreURL[]; |
| 365 | |
| 366 | // The URL for the "Learn more" page for download scanning. |
| 367 | extern const char kDownloadScanningLearnMoreURL[]; |
| 368 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 369 | // The URL for the "Learn more" page for interrupted downloads. |
| 370 | extern const char kDownloadInterruptedLearnMoreURL[]; |
| 371 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 372 | // The URL for the "Learn more" page on the sync setup dialog, when syncing |
| 373 | // everything. |
| 374 | extern const char kSyncEverythingLearnMoreURL[]; |
| 375 | |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 376 | // The URL for information on how to use the app launcher. |
| 377 | extern const char kAppLauncherHelpURL[]; |
| 378 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 379 | // The URL for the "Learn more" page on sync encryption. |
| 380 | extern const char kSyncEncryptionHelpURL[]; |
| 381 | |
| 382 | // The URL for the "Learn more" link when there is a sync error. |
| 383 | extern const char kSyncErrorsHelpURL[]; |
| 384 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 385 | // The URL for the "Learn more" link in the Chrome To Mobile bubble. |
| 386 | extern const char kChromeToMobileLearnMoreURL[]; |
| 387 | |
| 388 | // The URL for the help article explaining sideload wipeout in more details. |
| 389 | extern const char kSideloadWipeoutHelpURL[]; |
| 390 | |
| 391 | #if defined(OS_CHROMEOS) |
| 392 | // The URL for the "Learn more" link for natural scrolling on ChromeOS. |
| 393 | extern const char kNaturalScrollHelpURL[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 394 | |
| 395 | // The URL for the Learn More page about enterprise enrolled devices. |
| 396 | extern const char kLearnMoreEnterpriseURL[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 397 | #endif |
| 398 | |
| 399 | // "Debug" pages which are dangerous and not for general consumption. |
| 400 | extern const char* const kChromeDebugURLs[]; |
| 401 | extern const int kNumberOfChromeDebugURLs; |
| 402 | |
| 403 | // Canonical schemes you can use as input to GURL.SchemeIs(). |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 404 | extern const char kExtensionResourceScheme[]; |
| 405 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 406 | // The chrome-search: scheme is served by the same backend as chrome:. However, |
| 407 | // only specific URLDataSources are enabled to serve requests via the |
| 408 | // chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its |
| 409 | // callers for details. Note that WebUIBindings should never be granted to |
| 410 | // chrome-search: pages. chrome-search: pages are displayable but not readable |
| 411 | // by external search providers (that are rendered by Instant renderer |
| 412 | // processes), and neither displayable nor readable by normal (non-Instant) web |
| 413 | // pages. To summarize, a non-Instant process, when trying to access |
| 414 | // 'chrome-search://something', will bump up against the following: |
| 415 | // |
| 416 | // 1. Renderer: The display-isolated check in WebKit will deny the request, |
| 417 | // 2. Browser: Assuming they got by #1, the scheme checks in |
| 418 | // URLDataSource::ShouldServiceRequest will deny the request, |
| 419 | // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource |
| 420 | // there are additional Instant-PID checks that make sure the request is |
| 421 | // coming from a blessed Instant process, and deny the request. |
| 422 | extern const char kChromeSearchScheme[]; |
| 423 | |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 424 | // Pages under chrome-search. |
| 425 | extern const char kChromeSearchLocalNtpHost[]; |
| 426 | extern const char kChromeSearchLocalNtpUrl[]; |
| 427 | extern const char kChromeSearchLocalGoogleNtpUrl[]; |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 428 | |
| 429 | // Host for search suggestions iframes. |
| 430 | extern const char kChromeSearchSuggestionHost[]; |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 431 | extern const char kChromeSearchSuggestionUrl[]; |
| 432 | |
| 433 | // Host and URL for most visited iframes used on the Instant Extended NTP. |
| 434 | extern const char kChromeSearchMostVisitedHost[]; |
| 435 | extern const char kChromeSearchMostVisitedUrl[]; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 436 | |
| 437 | #if defined(OS_CHROMEOS) |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 438 | extern const char kCrosScheme[]; |
| 439 | extern const char kDriveScheme[]; |
| 440 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 441 | // "Learn more" URL for the Cloud Print section under Options. |
| 442 | extern const char kCloudPrintLearnMoreURL[]; |
| 443 | #endif |
| 444 | |
| 445 | // Parameters that get appended to force SafeSearch. |
| 446 | extern const char kSafeSearchSafeParameter[]; |
| 447 | extern const char kSafeSearchSsuiParameter[]; |
| 448 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 449 | // The URL for the "Learn more" link in the media access infobar. |
| 450 | extern const char kMediaAccessLearnMoreUrl[]; |
| 451 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 452 | } // namespace chrome |
| 453 | |
| 454 | #endif // CHROME_COMMON_URL_CONSTANTS_H_ |