| 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 #include "chrome/common/url_constants.h" | 5 #include "chrome/common/url_constants.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "content/public/common/url_constants.h" | 10 #include "content/public/common/url_constants.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 const char kChromeUISupervisedUserPassphrasePageURL[] = | 80 const char kChromeUISupervisedUserPassphrasePageURL[] = |
| 81 "chrome://managed-user-passphrase/"; | 81 "chrome://managed-user-passphrase/"; |
| 82 const char kChromeUITermsURL[] = "chrome://terms/"; | 82 const char kChromeUITermsURL[] = "chrome://terms/"; |
| 83 const char kChromeUIThemeURL[] = "chrome://theme/"; | 83 const char kChromeUIThemeURL[] = "chrome://theme/"; |
| 84 const char kChromeUIThumbnailURL[] = "chrome://thumb/"; | 84 const char kChromeUIThumbnailURL[] = "chrome://thumb/"; |
| 85 const char kChromeUIThumbnailListURL[] = "chrome://thumbnails/"; | 85 const char kChromeUIThumbnailListURL[] = "chrome://thumbnails/"; |
| 86 const char kChromeUIUberFrameURL[] = "chrome://uber-frame/"; | 86 const char kChromeUIUberFrameURL[] = "chrome://uber-frame/"; |
| 87 const char kChromeUIUserActionsURL[] = "chrome://user-actions/"; | 87 const char kChromeUIUserActionsURL[] = "chrome://user-actions/"; |
| 88 const char kChromeUIVersionURL[] = "chrome://version/"; | 88 const char kChromeUIVersionURL[] = "chrome://version/"; |
| 89 | 89 |
| 90 #if defined(OS_ANDROID) | 90 #if defined(ANDROID_JAVA_UI) |
| 91 const char kChromeUIContextualSearchPromoURL[] = | 91 const char kChromeUIContextualSearchPromoURL[] = |
| 92 "chrome://contextual-search-promo"; | 92 "chrome://contextual-search-promo"; |
| 93 const char kChromeUINativeScheme[] = "chrome-native"; | 93 const char kChromeUINativeScheme[] = "chrome-native"; |
| 94 const char kChromeUINativeNewTabURL[] = "chrome-native://newtab/"; | 94 const char kChromeUINativeNewTabURL[] = "chrome-native://newtab/"; |
| 95 const char kChromeUINativeBookmarksURL[] = "chrome-native://bookmarks/"; | 95 const char kChromeUINativeBookmarksURL[] = "chrome-native://bookmarks/"; |
| 96 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/"; | 96 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/"; |
| 97 #endif | 97 #endif |
| 98 | 98 |
| 99 #if defined(OS_CHROMEOS) | 99 #if defined(OS_CHROMEOS) |
| 100 const char kChromeUIBluetoothPairingURL[] = "chrome://bluetooth-pairing/"; | 100 const char kChromeUIBluetoothPairingURL[] = "chrome://bluetooth-pairing/"; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 128 #if defined(USE_AURA) | 128 #if defined(USE_AURA) |
| 129 const char kChromeUIGestureConfigURL[] = "chrome://gesture/"; | 129 const char kChromeUIGestureConfigURL[] = "chrome://gesture/"; |
| 130 const char kChromeUIGestureConfigHost[] = "gesture"; | 130 const char kChromeUIGestureConfigHost[] = "gesture"; |
| 131 #endif | 131 #endif |
| 132 | 132 |
| 133 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 133 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 134 const char kChromeUITabModalConfirmDialogURL[] = | 134 const char kChromeUITabModalConfirmDialogURL[] = |
| 135 "chrome://tab-modal-confirm-dialog/"; | 135 "chrome://tab-modal-confirm-dialog/"; |
| 136 #endif | 136 #endif |
| 137 | 137 |
| 138 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 138 #if !defined(ANDROID_JAVA_UI) && !defined(OS_IOS) |
| 139 const char kChromeUICopresenceURL[] = "chrome://copresence/"; | 139 const char kChromeUICopresenceURL[] = "chrome://copresence/"; |
| 140 #endif | 140 #endif |
| 141 | 141 |
| 142 #if defined(ENABLE_WEBRTC) | 142 #if defined(ENABLE_WEBRTC) |
| 143 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; | 143 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; |
| 144 #endif | 144 #endif |
| 145 | 145 |
| 146 #if defined(ENABLE_MEDIA_ROUTER) | 146 #if defined(ENABLE_MEDIA_ROUTER) |
| 147 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; | 147 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; |
| 148 #endif | 148 #endif |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 const char kMac10_678_DeprecationURL[] = | 756 const char kMac10_678_DeprecationURL[] = |
| 757 "http://chrome.blogspot.com/2015/11/updates-to-chrome-platform-support.html"
; | 757 "http://chrome.blogspot.com/2015/11/updates-to-chrome-platform-support.html"
; |
| 758 #endif | 758 #endif |
| 759 | 759 |
| 760 #if defined(OS_WIN) | 760 #if defined(OS_WIN) |
| 761 const char kWindowsXPVistaDeprecationURL[] = | 761 const char kWindowsXPVistaDeprecationURL[] = |
| 762 "https://support.google.com/chrome/answer/95346"; | 762 "https://support.google.com/chrome/answer/95346"; |
| 763 #endif | 763 #endif |
| 764 | 764 |
| 765 } // namespace chrome | 765 } // namespace chrome |
| OLD | NEW |