| 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 #ifndef CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 std::string languages_; | 101 std::string languages_; |
| 102 bool initialized_; | 102 bool initialized_; |
| 103 | 103 |
| 104 // The maximum relevance that can be assigned in CalculateScore(). | 104 // The maximum relevance that can be assigned in CalculateScore(). |
| 105 // Note that if the final assigned relevance is at least | 105 // Note that if the final assigned relevance is at least |
| 106 // AutocompleteResult::kLowestDefaultScore, the relevance will be | 106 // AutocompleteResult::kLowestDefaultScore, the relevance will be |
| 107 // demoted to less than that number because ShortcutsProvider isn't | 107 // demoted to less than that number because ShortcutsProvider isn't |
| 108 // allowed to inline. | 108 // allowed to inline. |
| 109 int max_relevance_; | 109 int max_relevance_; |
| 110 |
| 111 // True if the omnibox will reorder matches as necessary to make the top |
| 112 // one something that is allowed to be the default match. |
| 113 bool omnibox_will_reorder_for_legal_default_match_; |
| 110 }; | 114 }; |
| 111 | 115 |
| 112 #endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ | 116 #endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ |
| OLD | NEW |