Chromium Code Reviews| 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_AUTOCOMPLETE_RESULT_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 157 | 157 |
| 158 // The "alternate navigation URL", if any, for this result set. This is a URL | 158 // The "alternate navigation URL", if any, for this result set. This is a URL |
| 159 // to try offering as a navigational option in case the user navigated to the | 159 // to try offering as a navigational option in case the user navigated to the |
| 160 // URL of the default match but intended something else. For example, if the | 160 // URL of the default match but intended something else. For example, if the |
| 161 // user's local intranet contains site "foo", and the user types "foo", we | 161 // user's local intranet contains site "foo", and the user types "foo", we |
| 162 // default to searching for "foo" when the user may have meant to navigate | 162 // default to searching for "foo" when the user may have meant to navigate |
| 163 // there. In cases like this, the default match will point to the "search for | 163 // there. In cases like this, the default match will point to the "search for |
| 164 // 'foo'" result, and this will contain "http://foo/". | 164 // 'foo'" result, and this will contain "http://foo/". |
| 165 GURL alternate_nav_url_; | 165 GURL alternate_nav_url_; |
| 166 | 166 |
| 167 // True if the functions here should reorder matches as necessary | |
|
Peter Kasting
2013/07/13 01:31:40
Nit: Extra space
Mark P
2013/07/17 15:45:18
Done.
| |
| 168 // to make the top result inlineable. | |
| 169 bool reorder_for_inlining_; | |
| 170 | |
| 167 DISALLOW_COPY_AND_ASSIGN(AutocompleteResult); | 171 DISALLOW_COPY_AND_ASSIGN(AutocompleteResult); |
| 168 }; | 172 }; |
| 169 | 173 |
| 170 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ | 174 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ |
| OLD | NEW |