| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 const char kChromeUIGestureConfigHost[] = "gesture"; | 134 const char kChromeUIGestureConfigHost[] = "gesture"; |
| 135 const char kChromeUISalsaURL[] = "chrome://salsa/"; | 135 const char kChromeUISalsaURL[] = "chrome://salsa/"; |
| 136 const char kChromeUISalsaHost[] = "salsa"; | 136 const char kChromeUISalsaHost[] = "salsa"; |
| 137 #endif | 137 #endif |
| 138 | 138 |
| 139 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 139 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 140 const char kChromeUITabModalConfirmDialogURL[] = | 140 const char kChromeUITabModalConfirmDialogURL[] = |
| 141 "chrome://tab-modal-confirm-dialog/"; | 141 "chrome://tab-modal-confirm-dialog/"; |
| 142 #endif | 142 #endif |
| 143 | 143 |
| 144 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 145 const char kChromeUICopresenceURL[] = "chrome://copresence/"; |
| 146 #endif |
| 147 |
| 144 #if defined(ENABLE_WEBRTC) | 148 #if defined(ENABLE_WEBRTC) |
| 145 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; | 149 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; |
| 146 #endif | 150 #endif |
| 147 | 151 |
| 148 // Add Chrome UI hosts here, in alphabetical order. | 152 // Add Chrome UI hosts here, in alphabetical order. |
| 149 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by | 153 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by |
| 150 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. | 154 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. |
| 151 const char kChromeUIAboutHost[] = "about"; | 155 const char kChromeUIAboutHost[] = "about"; |
| 152 const char kChromeUIBlankHost[] = "blank"; | 156 const char kChromeUIBlankHost[] = "blank"; |
| 153 const char kChromeUIAppLauncherPageHost[] = "apps"; | 157 const char kChromeUIAppLauncherPageHost[] = "apps"; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 "/opt/google/chrome/resources/about_os_credits.html"; | 311 "/opt/google/chrome/resources/about_os_credits.html"; |
| 308 | 312 |
| 309 const char kChromeOSAssetHost[] = "chromeos-asset"; | 313 const char kChromeOSAssetHost[] = "chromeos-asset"; |
| 310 const char kChromeOSAssetPath[] = "/usr/share/chromeos-assets/"; | 314 const char kChromeOSAssetPath[] = "/usr/share/chromeos-assets/"; |
| 311 #endif | 315 #endif |
| 312 | 316 |
| 313 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 317 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 314 const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog"; | 318 const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog"; |
| 315 #endif | 319 #endif |
| 316 | 320 |
| 321 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 322 const char kChromeUICopresenceHost[] = "copresence"; |
| 323 #endif |
| 324 |
| 317 #if defined(ENABLE_WEBRTC) | 325 #if defined(ENABLE_WEBRTC) |
| 318 const char kChromeUIWebRtcLogsHost[] = "webrtc-logs"; | 326 const char kChromeUIWebRtcLogsHost[] = "webrtc-logs"; |
| 319 #endif | 327 #endif |
| 320 | 328 |
| 321 // Option sub pages. | 329 // Option sub pages. |
| 322 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be | 330 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be |
| 323 // listed by the built-in AutocompleteProvider. | 331 // listed by the built-in AutocompleteProvider. |
| 324 const char kAutofillSubPage[] = "autofill"; | 332 const char kAutofillSubPage[] = "autofill"; |
| 325 const char kClearBrowserDataSubPage[] = "clearBrowserData"; | 333 const char kClearBrowserDataSubPage[] = "clearBrowserData"; |
| 326 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; | 334 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 kChromeUIHelpHost, | 622 kChromeUIHelpHost, |
| 615 kChromeUIInspectHost, | 623 kChromeUIInspectHost, |
| 616 kChromeUIPluginsHost, | 624 kChromeUIPluginsHost, |
| 617 kChromeUIQuotaInternalsHost, | 625 kChromeUIQuotaInternalsHost, |
| 618 kChromeUISettingsHost, | 626 kChromeUISettingsHost, |
| 619 kChromeUISystemInfoHost, | 627 kChromeUISystemInfoHost, |
| 620 kChromeUIUberHost, | 628 kChromeUIUberHost, |
| 621 #endif | 629 #endif |
| 622 #if defined(OS_ANDROID) || defined(OS_IOS) | 630 #if defined(OS_ANDROID) || defined(OS_IOS) |
| 623 kChromeUINetExportHost, | 631 kChromeUINetExportHost, |
| 632 #else // non-mobile |
| 633 kChromeUICopresenceHost, |
| 624 #endif | 634 #endif |
| 625 #if defined(OS_CHROMEOS) | 635 #if defined(OS_CHROMEOS) |
| 626 kChromeUICertificateManagerHost, | 636 kChromeUICertificateManagerHost, |
| 627 kChromeUIChooseMobileNetworkHost, | 637 kChromeUIChooseMobileNetworkHost, |
| 628 kChromeUICryptohomeHost, | 638 kChromeUICryptohomeHost, |
| 629 kChromeUIDiscardsHost, | 639 kChromeUIDiscardsHost, |
| 630 kChromeUIDriveInternalsHost, | 640 kChromeUIDriveInternalsHost, |
| 631 kChromeUIFirstRunHost, | 641 kChromeUIFirstRunHost, |
| 632 kChromeUIImageBurnerHost, | 642 kChromeUIImageBurnerHost, |
| 633 kChromeUIKeyboardOverlayHost, | 643 kChromeUIKeyboardOverlayHost, |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 "https://support.google.com/chrome/?p=ui_mac_32bit_support"; | 724 "https://support.google.com/chrome/?p=ui_mac_32bit_support"; |
| 715 #else | 725 #else |
| 716 ""; | 726 ""; |
| 717 #endif | 727 #endif |
| 718 #endif | 728 #endif |
| 719 | 729 |
| 720 const char kEasyUnlockLearnMoreUrl[] = | 730 const char kEasyUnlockLearnMoreUrl[] = |
| 721 "https://support.google.com/chromebook/?p=easy_unlock"; | 731 "https://support.google.com/chromebook/?p=easy_unlock"; |
| 722 | 732 |
| 723 } // namespace chrome | 733 } // namespace chrome |
| OLD | NEW |