| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 const char kChromeUIOSCreditsURL[] = "chrome://os-credits/"; | 112 const char kChromeUIOSCreditsURL[] = "chrome://os-credits/"; |
| 113 const char kChromeUIProxySettingsURL[] = "chrome://proxy-settings/"; | 113 const char kChromeUIProxySettingsURL[] = "chrome://proxy-settings/"; |
| 114 const char kChromeUISimUnlockURL[] = "chrome://sim-unlock/"; | 114 const char kChromeUISimUnlockURL[] = "chrome://sim-unlock/"; |
| 115 const char kChromeUISlideshowURL[] = "chrome://slideshow/"; | 115 const char kChromeUISlideshowURL[] = "chrome://slideshow/"; |
| 116 const char kChromeUISlowURL[] = "chrome://slow/"; | 116 const char kChromeUISlowURL[] = "chrome://slow/"; |
| 117 const char kChromeUISystemInfoURL[] = "chrome://system/"; | 117 const char kChromeUISystemInfoURL[] = "chrome://system/"; |
| 118 const char kChromeUITermsOemURL[] = "chrome://terms/oem"; | 118 const char kChromeUITermsOemURL[] = "chrome://terms/oem"; |
| 119 const char kChromeUIUserImageURL[] = "chrome://userimage/"; | 119 const char kChromeUIUserImageURL[] = "chrome://userimage/"; |
| 120 #endif | 120 #endif |
| 121 | 121 |
| 122 #if defined(FILE_MANAGER_EXTENSION) | |
| 123 const char kChromeUIFileManagerURL[] = "chrome://files/"; | |
| 124 #endif | |
| 125 | |
| 126 #if defined(USE_AURA) | 122 #if defined(USE_AURA) |
| 127 const char kChromeUIGestureConfigURL[] = "chrome://gesture/"; | 123 const char kChromeUIGestureConfigURL[] = "chrome://gesture/"; |
| 128 const char kChromeUIGestureConfigHost[] = "gesture"; | 124 const char kChromeUIGestureConfigHost[] = "gesture"; |
| 129 const char kChromeUISalsaURL[] = "chrome://salsa/"; | 125 const char kChromeUISalsaURL[] = "chrome://salsa/"; |
| 130 const char kChromeUISalsaHost[] = "salsa"; | 126 const char kChromeUISalsaHost[] = "salsa"; |
| 131 #endif | 127 #endif |
| 132 | 128 |
| 133 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 129 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 134 const char kChromeUITabModalConfirmDialogURL[] = | 130 const char kChromeUITabModalConfirmDialogURL[] = |
| 135 "chrome://tab-modal-confirm-dialog/"; | 131 "chrome://tab-modal-confirm-dialog/"; |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 const char kChromeUIMenu[] = "menu"; | 273 const char kChromeUIMenu[] = "menu"; |
| 278 const char kChromeUINetworkMenu[] = "network-menu"; | 274 const char kChromeUINetworkMenu[] = "network-menu"; |
| 279 const char kChromeUIWrenchMenu[] = "wrench-menu"; | 275 const char kChromeUIWrenchMenu[] = "wrench-menu"; |
| 280 | 276 |
| 281 const char kEULAPathFormat[] = "/usr/share/chromeos-assets/eula/%s/eula.html"; | 277 const char kEULAPathFormat[] = "/usr/share/chromeos-assets/eula/%s/eula.html"; |
| 282 const char kOemEulaURLPath[] = "oem"; | 278 const char kOemEulaURLPath[] = "oem"; |
| 283 const char kOnlineEulaURLPath[] = | 279 const char kOnlineEulaURLPath[] = |
| 284 "https://www.google.com/intl/%s/chrome/eula_text.html"; | 280 "https://www.google.com/intl/%s/chrome/eula_text.html"; |
| 285 #endif | 281 #endif |
| 286 | 282 |
| 287 #if defined(FILE_MANAGER_EXTENSION) | |
| 288 const char kChromeUIFileManagerHost[] = "files"; | |
| 289 #endif | |
| 290 | |
| 291 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 283 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 292 const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog"; | 284 const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog"; |
| 293 #endif | 285 #endif |
| 294 | 286 |
| 295 #if defined(ENABLE_WEBRTC) | 287 #if defined(ENABLE_WEBRTC) |
| 296 const char kChromeUIWebRtcLogsHost[] = "webrtc-logs"; | 288 const char kChromeUIWebRtcLogsHost[] = "webrtc-logs"; |
| 297 #endif | 289 #endif |
| 298 | 290 |
| 299 // Option sub pages. | 291 // Option sub pages. |
| 300 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be | 292 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 const char kChromeSearchMostVisitedUrl[] = "chrome-search://most-visited/"; | 643 const char kChromeSearchMostVisitedUrl[] = "chrome-search://most-visited/"; |
| 652 | 644 |
| 653 // Google SafeSearch query parameters. | 645 // Google SafeSearch query parameters. |
| 654 const char kSafeSearchSafeParameter[] = "safe=active"; | 646 const char kSafeSearchSafeParameter[] = "safe=active"; |
| 655 const char kSafeSearchSsuiParameter[] = "ssui=on"; | 647 const char kSafeSearchSsuiParameter[] = "ssui=on"; |
| 656 | 648 |
| 657 const char kMediaAccessLearnMoreUrl[] = | 649 const char kMediaAccessLearnMoreUrl[] = |
| 658 "https://support.google.com/chrome/?p=ib_access_cam_mic"; | 650 "https://support.google.com/chrome/?p=ib_access_cam_mic"; |
| 659 | 651 |
| 660 } // namespace chrome | 652 } // namespace chrome |
| OLD | NEW |