| 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_SUGGESTION_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_SUGGESTION_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_SUGGESTION_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_SUGGESTION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 // ID for the frontend to use in identifying the particular result. Positive | 40 // ID for the frontend to use in identifying the particular result. Positive |
| 41 // values are sent over IPC to identify the item selected. Negative values | 41 // values are sent over IPC to identify the item selected. Negative values |
| 42 // (see popup_item_ids.h) have special built-in meanings. Default initialized | 42 // (see popup_item_ids.h) have special built-in meanings. Default initialized |
| 43 // to 0. | 43 // to 0. |
| 44 int frontend_id; | 44 int frontend_id; |
| 45 | 45 |
| 46 base::string16 value; | 46 base::string16 value; |
| 47 base::string16 label; | 47 base::string16 label; |
| 48 base::string16 icon; | 48 base::string16 icon; |
| 49 MatchMode match; | 49 MatchMode match; |
| 50 bool is_value_bold; // true if |value| should be displayed in bold type face. |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace autofill | 53 } // namespace autofill |
| 53 | 54 |
| 54 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_SUGGESTION_H_ | 55 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_SUGGESTION_H_ |
| OLD | NEW |