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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 extern const char kAboutAboutURL[]; | 51 extern const char kAboutAboutURL[]; |
52 extern const char kAboutDNSURL[]; | 52 extern const char kAboutDNSURL[]; |
53 extern const char kAboutHistogramsURL[]; | 53 extern const char kAboutHistogramsURL[]; |
54 extern const char kAboutVersionURL[]; | 54 extern const char kAboutVersionURL[]; |
55 | 55 |
56 // chrome: URLs (including schemes). Should be kept in sync with the | 56 // chrome: URLs (including schemes). Should be kept in sync with the |
57 // components below. | 57 // components below. |
58 extern const char kChromeUIAboutURL[]; | 58 extern const char kChromeUIAboutURL[]; |
59 extern const char kChromeUIAppLauncherURL[]; | 59 extern const char kChromeUIAppLauncherURL[]; |
60 extern const char kChromeUIBookmarksURL[]; | 60 extern const char kChromeUIBookmarksURL[]; |
| 61 extern const char kChromeUIBugReportURL[]; |
61 extern const char kChromeUIDevToolsURL[]; | 62 extern const char kChromeUIDevToolsURL[]; |
62 extern const char kChromeUIDownloadsURL[]; | 63 extern const char kChromeUIDownloadsURL[]; |
63 extern const char kChromeUIExtensionsURL[]; | 64 extern const char kChromeUIExtensionsURL[]; |
64 extern const char kChromeUIFavIconURL[]; | 65 extern const char kChromeUIFavIconURL[]; |
65 extern const char kChromeUIFileBrowseURL[]; | 66 extern const char kChromeUIFileBrowseURL[]; |
66 extern const char kChromeUIHistoryURL[]; | 67 extern const char kChromeUIHistoryURL[]; |
67 extern const char kChromeUIHistory2URL[]; | 68 extern const char kChromeUIHistory2URL[]; |
68 extern const char kChromeUIIPCURL[]; | 69 extern const char kChromeUIIPCURL[]; |
69 extern const char kChromeUIMediaplayerURL[]; | 70 extern const char kChromeUIMediaplayerURL[]; |
70 extern const char kChromeUINewTabURL[]; | 71 extern const char kChromeUINewTabURL[]; |
71 extern const char kChromeUIOptionsURL[]; | 72 extern const char kChromeUIOptionsURL[]; |
72 extern const char kChromeUIPluginsURL[]; | 73 extern const char kChromeUIPluginsURL[]; |
73 extern const char kChromeUIPrintURL[]; | 74 extern const char kChromeUIPrintURL[]; |
74 extern const char kChromeUIRegisterPageURL[]; | 75 extern const char kChromeUIRegisterPageURL[]; |
75 extern const char kChromeUISlideshowURL[]; | 76 extern const char kChromeUISlideshowURL[]; |
76 | 77 |
77 // chrome components of URLs. Should be kept in sync with the full URLs | 78 // chrome components of URLs. Should be kept in sync with the full URLs |
78 // above. | 79 // above. |
79 extern const char kChromeUIBookmarksHost[]; | 80 extern const char kChromeUIBookmarksHost[]; |
| 81 extern const char kChromeUIBugReportHost[]; |
80 extern const char kChromeUIDevToolsHost[]; | 82 extern const char kChromeUIDevToolsHost[]; |
81 extern const char kChromeUIDialogHost[]; | 83 extern const char kChromeUIDialogHost[]; |
82 extern const char kChromeUIDownloadsHost[]; | 84 extern const char kChromeUIDownloadsHost[]; |
83 extern const char kChromeUIExtensionsHost[]; | 85 extern const char kChromeUIExtensionsHost[]; |
84 extern const char kChromeUIFavIconHost[]; | 86 extern const char kChromeUIFavIconHost[]; |
85 extern const char kChromeUIFileBrowseHost[]; | 87 extern const char kChromeUIFileBrowseHost[]; |
86 extern const char kChromeUIHistoryHost[]; | 88 extern const char kChromeUIHistoryHost[]; |
87 extern const char kChromeUIHistory2Host[]; | 89 extern const char kChromeUIHistory2Host[]; |
88 extern const char kChromeUIInspectorHost[]; | 90 extern const char kChromeUIInspectorHost[]; |
89 extern const char kChromeUIMediaplayerHost[]; | 91 extern const char kChromeUIMediaplayerHost[]; |
90 extern const char kChromeUINetInternalsHost[]; | 92 extern const char kChromeUINetInternalsHost[]; |
91 extern const char kChromeUINewTabHost[]; | 93 extern const char kChromeUINewTabHost[]; |
92 extern const char kChromeUIOptionsHost[]; | 94 extern const char kChromeUIOptionsHost[]; |
93 extern const char kChromeUIPluginsHost[]; | 95 extern const char kChromeUIPluginsHost[]; |
94 extern const char kChromeUIPrintHost[]; | 96 extern const char kChromeUIPrintHost[]; |
95 extern const char kChromeUIRegisterPageHost[]; | 97 extern const char kChromeUIRegisterPageHost[]; |
96 extern const char kChromeUIRemotingHost[]; | 98 extern const char kChromeUIRemotingHost[]; |
97 extern const char kChromeUIResourcesHost[]; | 99 extern const char kChromeUIResourcesHost[]; |
| 100 extern const char kChromeUIScreenshotPath[]; |
98 extern const char kChromeUISlideshowHost[]; | 101 extern const char kChromeUISlideshowHost[]; |
99 extern const char kChromeUISyncResourcesHost[]; | 102 extern const char kChromeUISyncResourcesHost[]; |
100 extern const char kChromeUIRemotingResourcesHost[]; | 103 extern const char kChromeUIRemotingResourcesHost[]; |
101 extern const char kChromeUIThumbnailPath[]; | 104 extern const char kChromeUIThumbnailPath[]; |
102 extern const char kChromeUIThemePath[]; | 105 extern const char kChromeUIThemePath[]; |
103 | 106 |
104 // AppCache related URL. | 107 // AppCache related URL. |
105 extern const char kAppCacheViewInternalsURL[]; | 108 extern const char kAppCacheViewInternalsURL[]; |
106 | 109 |
107 // Cloud Print dialog URL components. | 110 // Cloud Print dialog URL components. |
(...skipping 15 matching lines...) Expand all Loading... |
123 extern const char kInternetOptionsSubPage[]; | 126 extern const char kInternetOptionsSubPage[]; |
124 #endif | 127 #endif |
125 | 128 |
126 // Call near the beginning of startup to register Chrome's internal URLs that | 129 // Call near the beginning of startup to register Chrome's internal URLs that |
127 // should be parsed as "standard" with the googleurl library. | 130 // should be parsed as "standard" with the googleurl library. |
128 void RegisterChromeSchemes(); | 131 void RegisterChromeSchemes(); |
129 | 132 |
130 } // namespace chrome | 133 } // namespace chrome |
131 | 134 |
132 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 135 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |