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