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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 // The chrome-search: scheme is served by the same backend as chrome:. However, | 410 // The chrome-search: scheme is served by the same backend as chrome:. However, |
411 // only specific URLDataSources are enabled to serve requests via the | 411 // only specific URLDataSources are enabled to serve requests via the |
412 // chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its | 412 // chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its |
413 // callers for details. Note that WebUIBindings should never be granted to | 413 // callers for details. Note that WebUIBindings should never be granted to |
414 // chrome-search: pages. | 414 // chrome-search: pages. |
415 extern const char kChromeSearchScheme[]; | 415 extern const char kChromeSearchScheme[]; |
416 | 416 |
417 // The local omnibox host and pages under chrome-search. | 417 // The local omnibox host and pages under chrome-search. |
418 extern const char kChromeSearchLocalOmniboxPopupHost[]; | 418 extern const char kChromeSearchLocalOmniboxPopupHost[]; |
419 extern const char kChromeSearchLocalOmniboxPopupURL[]; | 419 extern const char kChromeSearchLocalOmniboxPopupURL[]; |
| 420 extern const char kChromeSearchLocalNTPHost[]; |
| 421 extern const char kChromeSearchLocalNTPURL[]; |
420 | 422 |
421 #if defined(OS_CHROMEOS) | 423 #if defined(OS_CHROMEOS) |
422 extern const char kCrosScheme[]; | 424 extern const char kCrosScheme[]; |
423 extern const char kDriveScheme[]; | 425 extern const char kDriveScheme[]; |
424 | 426 |
425 // "Learn more" URL for the Cloud Print section under Options. | 427 // "Learn more" URL for the Cloud Print section under Options. |
426 extern const char kCloudPrintLearnMoreURL[]; | 428 extern const char kCloudPrintLearnMoreURL[]; |
427 #endif | 429 #endif |
428 | 430 |
429 // Parameters that get appended to force SafeSearch. | 431 // Parameters that get appended to force SafeSearch. |
430 extern const char kSafeSearchSafeParameter[]; | 432 extern const char kSafeSearchSafeParameter[]; |
431 extern const char kSafeSearchSsuiParameter[]; | 433 extern const char kSafeSearchSsuiParameter[]; |
432 | 434 |
433 // The URL for the "Learn more" link in the media access infobar. | 435 // The URL for the "Learn more" link in the media access infobar. |
434 extern const char kMediaAccessLearnMoreUrl[]; | 436 extern const char kMediaAccessLearnMoreUrl[]; |
435 | 437 |
436 } // namespace chrome | 438 } // namespace chrome |
437 | 439 |
438 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 440 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |