| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_COMMON_INSTANT_TYPES_H_ | 5 #ifndef CHROME_COMMON_INSTANT_TYPES_H_ |
| 6 #define CHROME_COMMON_INSTANT_TYPES_H_ | 6 #define CHROME_COMMON_INSTANT_TYPES_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 | 164 |
| 165 // The title of the Most Visited page. May be empty, in which case the |url| | 165 // The title of the Most Visited page. May be empty, in which case the |url| |
| 166 // is used as the title. | 166 // is used as the title. |
| 167 string16 title; | 167 string16 title; |
| 168 }; | 168 }; |
| 169 | 169 |
| 170 // An InstantMostVisitedItem along with its assigned restricted ID. | 170 // An InstantMostVisitedItem along with its assigned restricted ID. |
| 171 typedef std::pair<InstantRestrictedID, InstantMostVisitedItem> | 171 typedef std::pair<InstantRestrictedID, InstantMostVisitedItem> |
| 172 InstantMostVisitedItemIDPair; | 172 InstantMostVisitedItemIDPair; |
| 173 | 173 |
| 174 // The style of dropdown results that can be set by the Instant page. | |
| 175 struct InstantAutocompleteResultStyle { | |
| 176 InstantAutocompleteResultStyle(); | |
| 177 ~InstantAutocompleteResultStyle(); | |
| 178 | |
| 179 // The displayed result has the URL and an optional title. | |
| 180 int url_color; | |
| 181 int title_color; | |
| 182 }; | |
| 183 | |
| 184 #endif // CHROME_COMMON_INSTANT_TYPES_H_ | 174 #endif // CHROME_COMMON_INSTANT_TYPES_H_ |
| OLD | NEW |