| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 #endif | 99 #endif |
| 100 | 100 |
| 101 #if defined(USE_ASH) | 101 #if defined(USE_ASH) |
| 102 const char kChromeUITransparencyURL[] = "chrome://transparency/"; | 102 const char kChromeUITransparencyURL[] = "chrome://transparency/"; |
| 103 #endif | 103 #endif |
| 104 | 104 |
| 105 #if defined(FILE_MANAGER_EXTENSION) | 105 #if defined(FILE_MANAGER_EXTENSION) |
| 106 const char kChromeUIFileManagerURL[] = "chrome://files/"; | 106 const char kChromeUIFileManagerURL[] = "chrome://files/"; |
| 107 #endif | 107 #endif |
| 108 | 108 |
| 109 #if defined(USE_AURA) |
| 110 const char kChromeUIGestureConfigURL[] = "chrome://gesture/"; |
| 111 const char kChromeUIGestureConfigHost[] = "gesture"; |
| 112 #endif |
| 113 |
| 109 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 114 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 110 const char kChromeUICollectedCookiesURL[] = "chrome://collected-cookies/"; | 115 const char kChromeUICollectedCookiesURL[] = "chrome://collected-cookies/"; |
| 111 const char kChromeUIHttpAuthURL[] = "chrome://http-auth/"; | 116 const char kChromeUIHttpAuthURL[] = "chrome://http-auth/"; |
| 112 const char kChromeUITabModalConfirmDialogURL[] = | 117 const char kChromeUITabModalConfirmDialogURL[] = |
| 113 "chrome://tab-modal-confirm-dialog/"; | 118 "chrome://tab-modal-confirm-dialog/"; |
| 114 #endif | 119 #endif |
| 115 | 120 |
| 116 // Add Chrome UI hosts here, in alphabetical order. | 121 // Add Chrome UI hosts here, in alphabetical order. |
| 117 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by | 122 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by |
| 118 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. | 123 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 kChromeUIGpuCleanURL, | 436 kChromeUIGpuCleanURL, |
| 432 kChromeUIGpuCrashURL, | 437 kChromeUIGpuCrashURL, |
| 433 kChromeUIGpuHangURL, | 438 kChromeUIGpuHangURL, |
| 434 }; | 439 }; |
| 435 int kNumberOfChromeDebugURLs = static_cast<int>(arraysize(kChromeDebugURLs)); | 440 int kNumberOfChromeDebugURLs = static_cast<int>(arraysize(kChromeDebugURLs)); |
| 436 | 441 |
| 437 const char kExtensionScheme[] = "chrome-extension"; | 442 const char kExtensionScheme[] = "chrome-extension"; |
| 438 const char kExtensionResourceScheme[] = "chrome-extension-resource"; | 443 const char kExtensionResourceScheme[] = "chrome-extension-resource"; |
| 439 | 444 |
| 440 } // namespace chrome | 445 } // namespace chrome |
| OLD | NEW |