| 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 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 ThemeBackgroundImageAlignment image_vertical_alignment; | 145 ThemeBackgroundImageAlignment image_vertical_alignment; |
| 146 | 146 |
| 147 // The theme background image tiling is only valid if |theme_id| is valid. | 147 // The theme background image tiling is only valid if |theme_id| is valid. |
| 148 ThemeBackgroundImageTiling image_tiling; | 148 ThemeBackgroundImageTiling image_tiling; |
| 149 | 149 |
| 150 // The theme background image height. | 150 // The theme background image height. |
| 151 // Value is only valid if |theme_id| is valid. | 151 // Value is only valid if |theme_id| is valid. |
| 152 uint16 image_height; | 152 uint16 image_height; |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 // A most visited item. | 155 struct InstantMostVisitedItem { |
| 156 struct MostVisitedItem { | 156 InstantMostVisitedItem() : most_visited_item_id(0) {} |
| 157 // URL of the most visited page. | 157 |
| 158 // A private identifier used on the browser side when retrieving assets. |
| 159 uint64 most_visited_item_id; |
| 160 |
| 161 // The URL of the Most Visited item. |
| 158 GURL url; | 162 GURL url; |
| 159 | 163 |
| 160 // Title of the most visited page. | 164 // The title of the Most Visited page. May be empty, in which case the |url| |
| 165 // is used as the title. |
| 161 string16 title; | 166 string16 title; |
| 162 }; | 167 }; |
| 163 | 168 |
| 164 #endif // CHROME_COMMON_INSTANT_TYPES_H_ | 169 #endif // CHROME_COMMON_INSTANT_TYPES_H_ |
| OLD | NEW |