| 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 // Contains constants for known URLs and portions thereof. | 5 // Contains constants for known URLs and portions thereof. |
| 6 | 6 |
| 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ | 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ |
| 8 #define CHROME_COMMON_URL_CONSTANTS_H_ | 8 #define CHROME_COMMON_URL_CONSTANTS_H_ |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 // 'chrome-search://something', will bump up against the following: | 417 // 'chrome-search://something', will bump up against the following: |
| 418 // | 418 // |
| 419 // 1. Renderer: The display-isolated check in WebKit will deny the request, | 419 // 1. Renderer: The display-isolated check in WebKit will deny the request, |
| 420 // 2. Browser: Assuming they got by #1, the scheme checks in | 420 // 2. Browser: Assuming they got by #1, the scheme checks in |
| 421 // URLDataSource::ShouldServiceRequest will deny the request, | 421 // URLDataSource::ShouldServiceRequest will deny the request, |
| 422 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource | 422 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource |
| 423 // there are additional Instant-PID checks that make sure the request is | 423 // there are additional Instant-PID checks that make sure the request is |
| 424 // coming from a blessed Instant process, and deny the request. | 424 // coming from a blessed Instant process, and deny the request. |
| 425 extern const char kChromeSearchScheme[]; | 425 extern const char kChromeSearchScheme[]; |
| 426 | 426 |
| 427 // The local omnibox host and pages under chrome-search. | 427 // Pages under chrome-search. |
| 428 extern const char kChromeSearchLocalOmniboxPopupHost[]; | |
| 429 extern const char kChromeSearchLocalOmniboxPopupURL[]; | |
| 430 extern const char kChromeSearchLocalNtpHost[]; | 428 extern const char kChromeSearchLocalNtpHost[]; |
| 431 extern const char kChromeSearchLocalNtpUrl[]; | 429 extern const char kChromeSearchLocalNtpUrl[]; |
| 430 extern const char kChromeSearchLocalGoogleNtpUrl[]; |
| 432 | 431 |
| 433 // Host for search suggestions iframes. | 432 // Host for search suggestions iframes. |
| 434 extern const char kChromeSearchSuggestionHost[]; | 433 extern const char kChromeSearchSuggestionHost[]; |
| 435 | 434 |
| 436 #if defined(OS_CHROMEOS) | 435 #if defined(OS_CHROMEOS) |
| 437 extern const char kCrosScheme[]; | 436 extern const char kCrosScheme[]; |
| 438 extern const char kDriveScheme[]; | 437 extern const char kDriveScheme[]; |
| 439 | 438 |
| 440 // "Learn more" URL for the Cloud Print section under Options. | 439 // "Learn more" URL for the Cloud Print section under Options. |
| 441 extern const char kCloudPrintLearnMoreURL[]; | 440 extern const char kCloudPrintLearnMoreURL[]; |
| 442 #endif | 441 #endif |
| 443 | 442 |
| 444 // Parameters that get appended to force SafeSearch. | 443 // Parameters that get appended to force SafeSearch. |
| 445 extern const char kSafeSearchSafeParameter[]; | 444 extern const char kSafeSearchSafeParameter[]; |
| 446 extern const char kSafeSearchSsuiParameter[]; | 445 extern const char kSafeSearchSsuiParameter[]; |
| 447 | 446 |
| 448 // The URL for the "Learn more" link in the media access infobar. | 447 // The URL for the "Learn more" link in the media access infobar. |
| 449 extern const char kMediaAccessLearnMoreUrl[]; | 448 extern const char kMediaAccessLearnMoreUrl[]; |
| 450 | 449 |
| 451 } // namespace chrome | 450 } // namespace chrome |
| 452 | 451 |
| 453 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 452 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |