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 29 matching lines...) Expand all Loading... |
40 extern const char kAboutAboutURL[]; | 40 extern const char kAboutAboutURL[]; |
41 extern const char kAboutAppCacheInternalsURL[]; | 41 extern const char kAboutAppCacheInternalsURL[]; |
42 extern const char kAboutBlankURL[]; | 42 extern const char kAboutBlankURL[]; |
43 extern const char kAboutBrowserCrash[]; | 43 extern const char kAboutBrowserCrash[]; |
44 extern const char kAboutConflicts[]; | 44 extern const char kAboutConflicts[]; |
45 extern const char kAboutCacheURL[]; | 45 extern const char kAboutCacheURL[]; |
46 extern const char kAboutCrashURL[]; | 46 extern const char kAboutCrashURL[]; |
47 extern const char kAboutCreditsURL[]; | 47 extern const char kAboutCreditsURL[]; |
48 extern const char kAboutDNSURL[]; | 48 extern const char kAboutDNSURL[]; |
49 extern const char kAboutFlagsURL[]; | 49 extern const char kAboutFlagsURL[]; |
| 50 extern const char kAboutGpuURL[]; |
50 extern const char kAboutGpuCrashURL[]; | 51 extern const char kAboutGpuCrashURL[]; |
51 extern const char kAboutGpuHangURL[]; | 52 extern const char kAboutGpuHangURL[]; |
52 extern const char kAboutHangURL[]; | 53 extern const char kAboutHangURL[]; |
53 extern const char kAboutHistogramsURL[]; | 54 extern const char kAboutHistogramsURL[]; |
54 extern const char kAboutMemoryURL[]; | 55 extern const char kAboutMemoryURL[]; |
55 extern const char kAboutNetInternalsURL[]; | 56 extern const char kAboutNetInternalsURL[]; |
56 extern const char kAboutPluginsURL[]; | 57 extern const char kAboutPluginsURL[]; |
57 extern const char kAboutShorthangURL[]; | 58 extern const char kAboutShorthangURL[]; |
58 extern const char kAboutTermsURL[]; | 59 extern const char kAboutTermsURL[]; |
59 extern const char kAboutVaporwareURL[]; | 60 extern const char kAboutVaporwareURL[]; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 // above. | 99 // above. |
99 extern const char kChromeUIBookmarksHost[]; | 100 extern const char kChromeUIBookmarksHost[]; |
100 extern const char kChromeUIBugReportHost[]; | 101 extern const char kChromeUIBugReportHost[]; |
101 extern const char kChromeUIConflictsHost[]; | 102 extern const char kChromeUIConflictsHost[]; |
102 extern const char kChromeUIDevToolsHost[]; | 103 extern const char kChromeUIDevToolsHost[]; |
103 extern const char kChromeUIDialogHost[]; | 104 extern const char kChromeUIDialogHost[]; |
104 extern const char kChromeUIDownloadsHost[]; | 105 extern const char kChromeUIDownloadsHost[]; |
105 extern const char kChromeUIExtensionsHost[]; | 106 extern const char kChromeUIExtensionsHost[]; |
106 extern const char kChromeUIFavIconHost[]; | 107 extern const char kChromeUIFavIconHost[]; |
107 extern const char kChromeUIFlagsHost[]; | 108 extern const char kChromeUIFlagsHost[]; |
| 109 extern const char kChromeUIGpuHost[]; |
108 extern const char kChromeUIHistory2Host[]; | 110 extern const char kChromeUIHistory2Host[]; |
109 extern const char kChromeUIHistoryHost[]; | 111 extern const char kChromeUIHistoryHost[]; |
110 extern const char kChromeUIKeyboardHost[]; | 112 extern const char kChromeUIKeyboardHost[]; |
111 extern const char kChromeUINetInternalsHost[]; | 113 extern const char kChromeUINetInternalsHost[]; |
112 extern const char kChromeUINewTabHost[]; | 114 extern const char kChromeUINewTabHost[]; |
113 extern const char kChromeUIPluginsHost[]; | 115 extern const char kChromeUIPluginsHost[]; |
114 extern const char kChromeUIPrintHost[]; | 116 extern const char kChromeUIPrintHost[]; |
115 extern const char kChromeUIRemotingHost[]; | 117 extern const char kChromeUIRemotingHost[]; |
116 extern const char kChromeUIRemotingResourcesHost[]; | 118 extern const char kChromeUIRemotingResourcesHost[]; |
117 extern const char kChromeUIResourcesHost[]; | 119 extern const char kChromeUIResourcesHost[]; |
(...skipping 28 matching lines...) Expand all Loading... |
146 extern const char kBlobViewInternalsURL[]; | 148 extern const char kBlobViewInternalsURL[]; |
147 | 149 |
148 // Cloud Print dialog URL components. | 150 // Cloud Print dialog URL components. |
149 extern const char kCloudPrintResourcesURL[]; | 151 extern const char kCloudPrintResourcesURL[]; |
150 extern const char kCloudPrintResourcesHost[]; | 152 extern const char kCloudPrintResourcesHost[]; |
151 | 153 |
152 // Network related URLs. | 154 // Network related URLs. |
153 extern const char kNetworkViewCacheURL[]; | 155 extern const char kNetworkViewCacheURL[]; |
154 extern const char kNetworkViewInternalsURL[]; | 156 extern const char kNetworkViewInternalsURL[]; |
155 | 157 |
| 158 // GPU related URLs |
| 159 extern const char kGpuURL[]; |
| 160 |
156 // Options sub-pages. | 161 // Options sub-pages. |
157 extern const char kAdvancedOptionsSubPage[]; | 162 extern const char kAdvancedOptionsSubPage[]; |
158 extern const char kAutoFillSubPage[]; | 163 extern const char kAutoFillSubPage[]; |
159 extern const char kBrowserOptionsSubPage[]; | 164 extern const char kBrowserOptionsSubPage[]; |
160 extern const char kClearBrowserDataSubPage[]; | 165 extern const char kClearBrowserDataSubPage[]; |
161 extern const char kContentSettingsSubPage[]; | 166 extern const char kContentSettingsSubPage[]; |
162 extern const char kDefaultOptionsSubPage[]; | 167 extern const char kDefaultOptionsSubPage[]; |
163 extern const char kImportDataSubPage[]; | 168 extern const char kImportDataSubPage[]; |
164 extern const char kPersonalOptionsSubPage[]; | 169 extern const char kPersonalOptionsSubPage[]; |
165 extern const char kSearchEnginesOptionsSubPage[]; | 170 extern const char kSearchEnginesOptionsSubPage[]; |
166 extern const char kSearchEnginesSubPage[]; | 171 extern const char kSearchEnginesSubPage[]; |
167 #if defined(OS_CHROMEOS) | 172 #if defined(OS_CHROMEOS) |
168 extern const char kInternetOptionsSubPage[]; | 173 extern const char kInternetOptionsSubPage[]; |
169 extern const char kLanguageOptionsSubPage[]; | 174 extern const char kLanguageOptionsSubPage[]; |
170 extern const char kSystemOptionsSubPage[]; | 175 extern const char kSystemOptionsSubPage[]; |
171 #endif | 176 #endif |
172 | 177 |
173 // Call near the beginning of startup to register Chrome's internal URLs that | 178 // Call near the beginning of startup to register Chrome's internal URLs that |
174 // should be parsed as "standard" with the googleurl library. | 179 // should be parsed as "standard" with the googleurl library. |
175 void RegisterChromeSchemes(); | 180 void RegisterChromeSchemes(); |
176 | 181 |
177 } // namespace chrome | 182 } // namespace chrome |
178 | 183 |
179 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 184 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |