OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "chrome/common/features.h" |
14 #include "content/public/common/url_constants.h" | 15 #include "content/public/common/url_constants.h" |
15 | 16 |
16 namespace chrome { | 17 namespace chrome { |
17 | 18 |
18 // chrome: URLs (including schemes). Should be kept in sync with the | 19 // chrome: URLs (including schemes). Should be kept in sync with the |
19 // components below. | 20 // components below. |
20 extern const char kChromeUIAboutURL[]; | 21 extern const char kChromeUIAboutURL[]; |
21 extern const char kChromeUIAppsURL[]; | 22 extern const char kChromeUIAppsURL[]; |
22 extern const char kChromeUIAppListStartPageURL[]; | 23 extern const char kChromeUIAppListStartPageURL[]; |
23 extern const char kChromeUIBookmarksURL[]; | 24 extern const char kChromeUIBookmarksURL[]; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 extern const char kChromeUISuggestionsURL[]; | 77 extern const char kChromeUISuggestionsURL[]; |
77 extern const char kChromeUISupervisedUserPassphrasePageURL[]; | 78 extern const char kChromeUISupervisedUserPassphrasePageURL[]; |
78 extern const char kChromeUITermsURL[]; | 79 extern const char kChromeUITermsURL[]; |
79 extern const char kChromeUIThemeURL[]; | 80 extern const char kChromeUIThemeURL[]; |
80 extern const char kChromeUIThumbnailURL[]; | 81 extern const char kChromeUIThumbnailURL[]; |
81 extern const char kChromeUIThumbnailListURL[]; | 82 extern const char kChromeUIThumbnailListURL[]; |
82 extern const char kChromeUIUberFrameURL[]; | 83 extern const char kChromeUIUberFrameURL[]; |
83 extern const char kChromeUIUserActionsURL[]; | 84 extern const char kChromeUIUserActionsURL[]; |
84 extern const char kChromeUIVersionURL[]; | 85 extern const char kChromeUIVersionURL[]; |
85 | 86 |
86 #if defined(OS_ANDROID) | 87 #if BUILDFLAG(ANDROID_JAVA_UI) |
87 extern const char kChromeUIContextualSearchPromoURL[]; | 88 extern const char kChromeUIContextualSearchPromoURL[]; |
88 extern const char kChromeUINativeScheme[]; | 89 extern const char kChromeUINativeScheme[]; |
89 extern const char kChromeUINativeNewTabURL[]; | 90 extern const char kChromeUINativeNewTabURL[]; |
90 extern const char kChromeUINativeBookmarksURL[]; | 91 extern const char kChromeUINativeBookmarksURL[]; |
91 extern const char kChromeUINativeRecentTabsURL[]; | 92 extern const char kChromeUINativeRecentTabsURL[]; |
92 #endif | 93 #endif |
93 | 94 |
94 #if defined(OS_CHROMEOS) | 95 #if defined(OS_CHROMEOS) |
95 extern const char kChromeUIBluetoothPairingURL[]; | 96 extern const char kChromeUIBluetoothPairingURL[]; |
96 extern const char kChromeUICertificateManagerDialogURL[]; | 97 extern const char kChromeUICertificateManagerDialogURL[]; |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 #endif | 562 #endif |
562 | 563 |
563 #if defined(OS_WIN) | 564 #if defined(OS_WIN) |
564 // The URL for the Windows XP/Vista deprecation help center article. | 565 // The URL for the Windows XP/Vista deprecation help center article. |
565 extern const char kWindowsXPVistaDeprecationURL[]; | 566 extern const char kWindowsXPVistaDeprecationURL[]; |
566 #endif | 567 #endif |
567 | 568 |
568 } // namespace chrome | 569 } // namespace chrome |
569 | 570 |
570 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 571 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |