[Aura] Initial app list webui.
[chromium-blink-merge.git] / chrome / common / url_constants.h
blob0e896d5a76deb817219a9ae577bd83cd004b0a1d
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
3 // found in the LICENSE file.
5 // Contains constants for known URLs and portions thereof.
7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_
8 #define CHROME_COMMON_URL_CONSTANTS_H_
9 #pragma once
11 #include "build/build_config.h"
12 #include "content/public/common/url_constants.h"
14 namespace chrome {
16 // TODO(msw): Resolve chrome_frame dependency on these constants.
17 extern const char kAboutPluginsURL[];
18 extern const char kAboutVersionURL[];
20 // chrome: URLs (including schemes). Should be kept in sync with the
21 // components below.
22 extern const char kChromeUIAboutURL[];
23 extern const char kChromeUIBookmarksURL[];
24 extern const char kChromeUIBugReportURL[];
25 extern const char kChromeUICertificateViewerURL[];
26 extern const char kChromeUIChromeURLsURL[];
27 extern const char kChromeUICloudPrintResourcesURL[];
28 extern const char kChromeUIConflictsURL[];
29 extern const char kChromeUIConstrainedHTMLTestURL[];
30 extern const char kChromeUICrashesURL[];
31 extern const char kChromeUICrashURL[];
32 extern const char kChromeUICreditsURL[];
33 extern const char kChromeUIDevToolsURL[];
34 extern const char kChromeUIDownloadsURL[];
35 extern const char kChromeUIEditSearchEngineDialogURL[];
36 extern const char kChromeUIExtensionIconURL[];
37 extern const char kChromeUIExtensionsURL[];
38 extern const char kChromeUIFaviconURL[];
39 extern const char kChromeUIFlagsURL[];
40 extern const char kChromeUIFlashURL[];
41 extern const char kChromeUIGpuCleanURL[];
42 extern const char kChromeUIGpuCrashURL[];
43 extern const char kChromeUIGpuHangURL[];
44 extern const char kChromeUIHangURL[];
45 extern const char kChromeUIHistory2URL[];
46 extern const char kChromeUIHistoryURL[];
47 extern const char kChromeUIHungRendererDialogURL[];
48 extern const char kChromeUIInputWindowDialogURL[];
49 extern const char kChromeUIIPCURL[];
50 extern const char kChromeUIKeyboardURL[];
51 extern const char kChromeUIKillURL[];
52 extern const char kChromeUIMemoryRedirectURL[];
53 extern const char kChromeUIMemoryURL[];
54 extern const char kChromeUINetInternalsURL[];
55 extern const char kChromeUINetworkViewCacheURL[];
56 extern const char kChromeUINewProfile[];
57 extern const char kChromeUINewTabURL[];
58 extern const char kChromeUIPluginsURL[];
59 extern const char kChromeUIPolicyURL[];
60 extern const char kChromeUIPrintURL[];
61 extern const char kChromeUISessionsURL[];
62 extern const char kChromeUISettingsURL[];
63 extern const char kChromeUIShorthangURL[];
64 extern const char kChromeUISSLClientCertificateSelectorURL[];
65 extern const char kChromeUISyncPromoURL[];
66 extern const char kChromeUITaskManagerURL[];
67 extern const char kChromeUITermsURL[];
68 extern const char kChromeUIThumbnailURL[];
69 extern const char kChromeUIVersionURL[];
70 extern const char kChromeUIWorkersURL[];
72 #if defined(OS_CHROMEOS)
73 extern const char kChromeUIActivationMessage[];
74 extern const char kChromeUIActiveDownloadsURL[];
75 extern const char kChromeUIChooseMobileNetworkURL[];
76 extern const char kChromeUIDiscardsURL[];
77 extern const char kChromeUIImageBurnerURL[];
78 extern const char kChromeUIKeyboardOverlayURL[];
79 extern const char kChromeUILockScreenURL[];
80 extern const char kChromeUIMediaplayerURL[];
81 extern const char kChromeUIMobileSetupURL[];
82 extern const char kChromeUIOobeURL[];
83 extern const char kChromeUIOSCreditsURL[];
84 extern const char kChromeUIProxySettingsURL[];
85 extern const char kChromeUIRegisterPageURL[];
86 extern const char kChromeUISimUnlockURL[];
87 extern const char kChromeUISlideshowURL[];
88 extern const char kChromeUISystemInfoURL[];
89 extern const char kChromeUITermsOemURL[];
90 extern const char kChromeUIUserImageURL[];
91 #endif
93 #if defined(FILE_MANAGER_EXTENSION)
94 extern const char kChromeUIFileManagerURL[];
95 #endif
97 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
98 extern const char kChromeUICollectedCookiesURL[];
99 extern const char kChromeUIHttpAuthURL[];
100 extern const char kChromeUIRepostFormWarningURL[];
101 #endif
103 #if defined(USE_AURA)
104 extern const char kChromeUIAppListURL[];
105 #endif
107 // chrome components of URLs. Should be kept in sync with the full URLs above.
108 extern const char kChromeUIAboutHost[];
109 extern const char kChromeUIAppCacheInternalsHost[];
110 extern const char kChromeUIBlankHost[];
111 extern const char kChromeUIBlobInternalsHost[];
112 extern const char kChromeUIBookmarksHost[];
113 extern const char kChromeUIBrowserCrashHost[];
114 extern const char kChromeUIBugReportHost[];
115 extern const char kChromeUICacheHost[];
116 extern const char kChromeUICertificateViewerHost[];
117 extern const char kChromeUIChromeURLsHost[];
118 extern const char kChromeUICloudPrintResourcesHost[];
119 extern const char kChromeUICloudPrintSetupHost[];
120 extern const char kChromeUIConflictsHost[];
121 extern const char kChromeUIConstrainedHTMLTestHost[];
122 extern const char kChromeUICrashesHost[];
123 extern const char kChromeUICrashHost[];
124 extern const char kChromeUICreditsHost[];
125 extern const char kChromeUIDefaultHost[];
126 extern const char kChromeUIDevToolsHost[];
127 extern const char kChromeUIDialogHost[];
128 extern const char kChromeUIDNSHost[];
129 extern const char kChromeUIDownloadsHost[];
130 extern const char kChromeUIEditSearchEngineDialogHost[];
131 extern const char kChromeUIExtensionIconHost[];
132 extern const char kChromeUIExtensionsHost[];
133 extern const char kChromeUIFaviconHost[];
134 extern const char kChromeUIFlagsHost[];
135 extern const char kChromeUIFlashHost[];
136 extern const char kChromeUIGpuCleanHost[];
137 extern const char kChromeUIGpuCrashHost[];
138 extern const char kChromeUIGpuHangHost[];
139 extern const char kChromeUIGpuHost[];
140 extern const char kChromeUIGpuInternalsHost[];
141 extern const char kChromeUIHangHost[];
142 extern const char kChromeUIHistogramsHost[];
143 extern const char kChromeUIHistory2Host[];
144 extern const char kChromeUIHistoryHost[];
145 extern const char kChromeUIHungRendererDialogHost[];
146 extern const char kChromeUIInputWindowDialogHost[];
147 extern const char kChromeUIIPCHost[];
148 extern const char kChromeUIKeyboardHost[];
149 extern const char kChromeUIKillHost[];
150 extern const char kChromeUIMediaInternalsHost[];
151 extern const char kChromeUIMemoryHost[];
152 extern const char kChromeUIMemoryRedirectHost[];
153 extern const char kChromeUINetInternalsHost[];
154 extern const char kChromeUINetworkViewCacheHost[];
155 extern const char kChromeUINewTabHost[];
156 extern const char kChromeUIPluginsHost[];
157 extern const char kChromeUIPolicyHost[];
158 extern const char kChromeUIPrintHost[];
159 extern const char kChromeUIQuotaInternalsHost[];
160 extern const char kChromeUIResourcesHost[];
161 extern const char kChromeUISessionsHost[];
162 extern const char kChromeUISettingsHost[];
163 extern const char kChromeUIShorthangHost[];
164 extern const char kChromeUISSLClientCertificateSelectorHost[];
165 extern const char kChromeUIStatsHost[];
166 extern const char kChromeUISyncHost[];
167 extern const char kChromeUISyncInternalsHost[];
168 extern const char kChromeUISyncPromoHost[];
169 extern const char kChromeUISyncResourcesHost[];
170 extern const char kChromeUITaskManagerHost[];
171 extern const char kChromeUITCMallocHost[];
172 extern const char kChromeUITermsHost[];
173 extern const char kChromeUIThumbnailHost[];
174 extern const char kChromeUITouchIconHost[];
175 extern const char kChromeUITracingHost[];
176 extern const char kChromeUITrackingHost[];
177 extern const char kChromeUITrackingHost2[];
178 extern const char kChromeUIVersionHost[];
179 extern const char kChromeUIWorkersHost[];
181 extern const char kChromeUIScreenshotPath[];
182 extern const char kChromeUIThemePath[];
184 #if defined(OS_LINUX)
185 extern const char kChromeUILinuxProxyConfigHost[];
186 extern const char kChromeUISandboxHost[];
187 #endif
189 #if defined(OS_CHROMEOS)
190 extern const char kChromeUIActivationMessageHost[];
191 extern const char kChromeUIActiveDownloadsHost[];
192 extern const char kChromeUIChooseMobileNetworkHost[];
193 extern const char kChromeUICryptohomeHost[];
194 extern const char kChromeUIDiscardsHost[];
195 extern const char kChromeUIImageBurnerHost[];
196 extern const char kChromeUIKeyboardOverlayHost[];
197 extern const char kChromeUILockScreenHost[];
198 extern const char kChromeUILoginContainerHost[];
199 extern const char kChromeUILoginHost[];
200 extern const char kChromeUIMediaplayerHost[];
201 extern const char kChromeUIMobileSetupHost[];
202 extern const char kChromeUINetworkHost[];
203 extern const char kChromeUIOobeHost[];
204 extern const char kChromeUIOSCreditsHost[];
205 extern const char kChromeUIProxySettingsHost[];
206 extern const char kChromeUIRegisterPageHost[];
207 extern const char kChromeUIRotateHost[];
208 extern const char kChromeUISimUnlockHost[];
209 extern const char kChromeUISlideshowHost[];
210 extern const char kChromeUISystemInfoHost[];
211 extern const char kChromeUIUserImageHost[];
213 extern const char kChromeUIMenu[];
214 extern const char kChromeUINetworkMenu[];
215 extern const char kChromeUIWrenchMenu[];
217 extern const char kEULAPathFormat[];
218 extern const char kOemEulaURLPath[];
219 #endif
221 #if defined(FILE_MANAGER_EXTENSION)
222 extern const char kChromeUIFileManagerHost[];
223 #endif
225 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
226 extern const char kChromeUICollectedCookiesHost[];
227 extern const char kChromeUIHttpAuthHost[];
228 extern const char kChromeUIRepostFormWarningHost[];
229 #endif
231 #if defined(USE_AURA)
232 extern const char kChromeUIAppListHost[];
233 #endif
235 // Options sub-pages.
236 extern const char kAdvancedOptionsSubPage[];
237 extern const char kAutofillSubPage[];
238 extern const char kBrowserOptionsSubPage[];
239 extern const char kClearBrowserDataSubPage[];
240 extern const char kContentSettingsExceptionsSubPage[];
241 extern const char kContentSettingsSubPage[];
242 extern const char kExtensionsSubPage[];
243 extern const char kHandlerSettingsSubPage[];
244 extern const char kImportDataSubPage[];
245 extern const char kInstantConfirmPage[];
246 extern const char kLanguageOptionsSubPage[];
247 extern const char kManageProfileSubPage[];
248 extern const char kPasswordManagerSubPage[];
249 extern const char kPersonalOptionsSubPage[];
250 extern const char kSearchEnginesSubPage[];
251 extern const char kSyncSetupSubPage[];
252 #if defined(OS_CHROMEOS)
253 extern const char kAboutOptionsSubPage[];
254 extern const char kInternetOptionsSubPage[];
255 extern const char kSystemOptionsSubPage[];
256 #endif
258 extern const char kSyncGoogleDashboardURL[];
260 extern const char kPasswordManagerLearnMoreURL[];
262 // General help link for Chrome.
263 extern const char kChromeHelpURL[];
265 // "What do these mean?" URL for the Page Info bubble.
266 extern const char kPageInfoHelpCenterURL[];
268 // "Learn more" URL for "Aw snap" page.
269 extern const char kCrashReasonURL[];
271 // "Learn more" URL for killed tab page.
272 extern const char kKillReasonURL[];
274 // "Learn more" URL for the Privacy section under Options.
275 extern const char kPrivacyLearnMoreURL[];
277 // The URL for the Chromium project used in the About dialog.
278 extern const char kChromiumProjectURL[];
280 // The URL for the "Learn more" page for the usage/crash reporting option in the
281 // first run dialog.
282 extern const char kLearnMoreReportingURL[];
284 // The URL for the "Learn more" page for the outdated plugin infobar.
285 extern const char kOutdatedPluginLearnMoreURL[];
287 // The URL for the "Learn more" page for the blocked plugin infobar.
288 extern const char kBlockedPluginLearnMoreURL[];
290 // The URL for the "About Voice Recognition" menu item.
291 extern const char kSpeechInputAboutURL[];
293 // The URL for the "Learn more" page for register protocol handler infobars.
294 extern const char kLearnMoreRegisterProtocolHandlerURL[];
296 // The URL for the "Learn more" page for sync setup on the personal stuff page.
297 extern const char kSyncLearnMoreURL[];
299 // "Debug" pages which are dangerous and not for general consumption.
300 extern const char* const kChromeDebugURLs[];
301 extern int kNumberOfChromeDebugURLs;
303 // Canonical schemes you can use as input to GURL.SchemeIs().
304 extern const char kExtensionScheme[];
306 // Call near the beginning of startup to register Chrome's internal URLs that
307 // should be parsed as "standard" with the googleurl library.
308 void RegisterChromeSchemes();
310 #if defined(OS_CHROMEOS)
311 // "Learn more" URL for the Cloud Print section under Options.
312 extern const char kCloudPrintLearnMoreURL[];
313 #endif
315 } // namespace chrome
317 #endif // CHROME_COMMON_URL_CONSTANTS_H_