| 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 "googleurl/src/url_util.h" | 7 #include "googleurl/src/url_util.h" |
| 8 | 8 |
| 9 namespace chrome { | 9 namespace chrome { |
| 10 | 10 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 #if defined(USE_AURA) | 119 #if defined(USE_AURA) |
| 120 const char kChromeUIGestureConfigURL[] = "chrome://gesture/"; | 120 const char kChromeUIGestureConfigURL[] = "chrome://gesture/"; |
| 121 const char kChromeUIGestureConfigHost[] = "gesture"; | 121 const char kChromeUIGestureConfigHost[] = "gesture"; |
| 122 #endif | 122 #endif |
| 123 | 123 |
| 124 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 124 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 125 const char kChromeUITabModalConfirmDialogURL[] = | 125 const char kChromeUITabModalConfirmDialogURL[] = |
| 126 "chrome://tab-modal-confirm-dialog/"; | 126 "chrome://tab-modal-confirm-dialog/"; |
| 127 #endif | 127 #endif |
| 128 | 128 |
| 129 #if defined(ENABLE_WEBRTC) |
| 130 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; |
| 131 #endif |
| 132 |
| 129 // Add Chrome UI hosts here, in alphabetical order. | 133 // Add Chrome UI hosts here, in alphabetical order. |
| 130 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by | 134 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by |
| 131 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. | 135 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. |
| 132 const char kChromeUIAboutHost[] = "about"; | 136 const char kChromeUIAboutHost[] = "about"; |
| 133 const char kChromeUIBlankHost[] = "blank"; | 137 const char kChromeUIBlankHost[] = "blank"; |
| 134 const char kChromeUIAppLauncherPageHost[] = "apps"; | 138 const char kChromeUIAppLauncherPageHost[] = "apps"; |
| 135 const char kChromeUIBookmarksHost[] = "bookmarks"; | 139 const char kChromeUIBookmarksHost[] = "bookmarks"; |
| 136 const char kChromeUICacheHost[] = "cache"; | 140 const char kChromeUICacheHost[] = "cache"; |
| 137 const char kChromeUICertificateViewerHost[] = "view-cert"; | 141 const char kChromeUICertificateViewerHost[] = "view-cert"; |
| 138 const char kChromeUIChromeURLsHost[] = "chrome-urls"; | 142 const char kChromeUIChromeURLsHost[] = "chrome-urls"; |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 #endif | 270 #endif |
| 267 | 271 |
| 268 #if defined(FILE_MANAGER_EXTENSION) | 272 #if defined(FILE_MANAGER_EXTENSION) |
| 269 const char kChromeUIFileManagerHost[] = "files"; | 273 const char kChromeUIFileManagerHost[] = "files"; |
| 270 #endif | 274 #endif |
| 271 | 275 |
| 272 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 276 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 273 const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog"; | 277 const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog"; |
| 274 #endif | 278 #endif |
| 275 | 279 |
| 280 #if defined(ENABLE_WEBRTC) |
| 281 const char kChromeUIWebRtcLogsHost[] = "webrtc-logs"; |
| 282 #endif |
| 283 |
| 276 // Option sub pages. | 284 // Option sub pages. |
| 277 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be | 285 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be |
| 278 // listed by the built-in AutocompleteProvider. | 286 // listed by the built-in AutocompleteProvider. |
| 279 const char kAutofillSubPage[] = "autofill"; | 287 const char kAutofillSubPage[] = "autofill"; |
| 280 const char kClearBrowserDataSubPage[] = "clearBrowserData"; | 288 const char kClearBrowserDataSubPage[] = "clearBrowserData"; |
| 281 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; | 289 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; |
| 282 const char kContentSettingsSubPage[] = "content"; | 290 const char kContentSettingsSubPage[] = "content"; |
| 283 const char kCreateProfileSubPage[] = "createProfile"; | 291 const char kCreateProfileSubPage[] = "createProfile"; |
| 284 const char kExtensionsSubPage[] = "extensions"; | 292 const char kExtensionsSubPage[] = "extensions"; |
| 285 const char kHandlerSettingsSubPage[] = "handlers"; | 293 const char kHandlerSettingsSubPage[] = "handlers"; |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 const char kChromeSearchMostVisitedUrl[] = "chrome-search://most-visited/"; | 533 const char kChromeSearchMostVisitedUrl[] = "chrome-search://most-visited/"; |
| 526 | 534 |
| 527 // Google SafeSearch query parameters. | 535 // Google SafeSearch query parameters. |
| 528 const char kSafeSearchSafeParameter[] = "safe=active"; | 536 const char kSafeSearchSafeParameter[] = "safe=active"; |
| 529 const char kSafeSearchSsuiParameter[] = "ssui=on"; | 537 const char kSafeSearchSsuiParameter[] = "ssui=on"; |
| 530 | 538 |
| 531 const char kMediaAccessLearnMoreUrl[] = | 539 const char kMediaAccessLearnMoreUrl[] = |
| 532 "https://support.google.com/chrome/?p=ib_access_cam_mic"; | 540 "https://support.google.com/chrome/?p=ib_access_cam_mic"; |
| 533 | 541 |
| 534 } // namespace chrome | 542 } // namespace chrome |
| OLD | NEW |