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