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