OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "build/build_config.h" |
5 #include "components/search/search_switches.h" | 6 #include "components/search/search_switches.h" |
6 | 7 |
7 namespace switches { | 8 namespace switches { |
8 | 9 |
9 #if defined(OS_ANDROID) | 10 #if defined(OS_ANDROID) |
10 | 11 |
11 // Enables EmbeddedSearch API in the search results page. | 12 // Enables EmbeddedSearch API in the search results page. |
12 const char kEnableEmbeddedSearchAPI[] = "enable-embeddedsearch-api"; | 13 const char kEnableEmbeddedSearchAPI[] = "enable-embeddedsearch-api"; |
13 | 14 |
14 // Triggers prerendering of search base page to prefetch results for the typed | 15 // Triggers prerendering of search base page to prefetch results for the typed |
15 // omnibox query. Only has an effect when prerender is enabled. | 16 // omnibox query. Only has an effect when prerender is enabled. |
16 const char kPrefetchSearchResults[] = "prefetch-search-results"; | 17 const char kPrefetchSearchResults[] = "prefetch-search-results"; |
17 | 18 |
18 #endif | 19 #endif |
19 | 20 |
20 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 21 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
21 | 22 |
22 // Enables query in the omnibox. | 23 // Enables query in the omnibox. |
23 const char kEnableQueryExtraction[] = "enable-query-extraction"; | 24 const char kEnableQueryExtraction[] = "enable-query-extraction"; |
24 | 25 |
25 #endif | 26 #endif |
26 | 27 |
27 } // namespace switches | 28 } // namespace switches |
OLD | NEW |