| 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 // This file contains the Search autocomplete provider. This provider is | 5 // This file contains the Search autocomplete provider. This provider is |
| 6 // responsible for all autocomplete entries that start with "Search <engine> | 6 // responsible for all autocomplete entries that start with "Search <engine> |
| 7 // for ...", including searching for the current input string, search | 7 // for ...", including searching for the current input string, search |
| 8 // history, and search suggestions. An instance of it gets created and | 8 // history, and search suggestions. An instance of it gets created and |
| 9 // managed by the autocomplete controller. | 9 // managed by the autocomplete controller. |
| 10 | 10 |
| (...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 // to true if either the default provider or keyword provider has completed | 682 // to true if either the default provider or keyword provider has completed |
| 683 // and their corresponding suggest response contained | 683 // and their corresponding suggest response contained |
| 684 // '"google:fieldtrialtriggered":true'. | 684 // '"google:fieldtrialtriggered":true'. |
| 685 // If the autocomplete query has not returned, this field is set to false. | 685 // If the autocomplete query has not returned, this field is set to false. |
| 686 bool field_trial_triggered_; | 686 bool field_trial_triggered_; |
| 687 | 687 |
| 688 // Same as above except that it is maintained across the current Omnibox | 688 // Same as above except that it is maintained across the current Omnibox |
| 689 // session. | 689 // session. |
| 690 bool field_trial_triggered_in_session_; | 690 bool field_trial_triggered_in_session_; |
| 691 | 691 |
| 692 // If true, search history query suggestions will score low enough that | |
| 693 // they will not be inlined. | |
| 694 bool prevent_search_history_inlining_; | |
| 695 | |
| 696 GURL current_page_url_; | 692 GURL current_page_url_; |
| 697 | 693 |
| 698 DISALLOW_COPY_AND_ASSIGN(SearchProvider); | 694 DISALLOW_COPY_AND_ASSIGN(SearchProvider); |
| 699 }; | 695 }; |
| 700 | 696 |
| 701 #endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_ | 697 #endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_ |
| OLD | NEW |