| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 // The tiling of the theme background image. | 118 // The tiling of the theme background image. |
| 119 enum ThemeBackgroundImageTiling { | 119 enum ThemeBackgroundImageTiling { |
| 120 THEME_BKGRND_IMAGE_NO_REPEAT, | 120 THEME_BKGRND_IMAGE_NO_REPEAT, |
| 121 THEME_BKGRND_IMAGE_REPEAT_X, | 121 THEME_BKGRND_IMAGE_REPEAT_X, |
| 122 THEME_BKGRND_IMAGE_REPEAT_Y, | 122 THEME_BKGRND_IMAGE_REPEAT_Y, |
| 123 THEME_BKGRND_IMAGE_REPEAT, | 123 THEME_BKGRND_IMAGE_REPEAT, |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 // Update DidThemeInfoChange in chrome/renderer/searchbox/searchbox.cc |
| 127 // whenever any fields are added/removed. |
| 126 struct ThemeBackgroundInfo { | 128 struct ThemeBackgroundInfo { |
| 127 ThemeBackgroundInfo(); | 129 ThemeBackgroundInfo(); |
| 128 ~ThemeBackgroundInfo(); | 130 ~ThemeBackgroundInfo(); |
| 129 | 131 |
| 130 // The theme background color in RGBA format where the R, G, B and A values | 132 // The theme background color in RGBA format where the R, G, B and A values |
| 131 // are between 0 and 255 inclusive and always valid. | 133 // are between 0 and 255 inclusive and always valid. |
| 132 int color_r; | 134 int color_r; |
| 133 int color_g; | 135 int color_g; |
| 134 int color_b; | 136 int color_b; |
| 135 int color_a; | 137 int color_a; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 165 // The title of the Most Visited page. May be empty, in which case the |url| | 167 // The title of the Most Visited page. May be empty, in which case the |url| |
| 166 // is used as the title. | 168 // is used as the title. |
| 167 string16 title; | 169 string16 title; |
| 168 }; | 170 }; |
| 169 | 171 |
| 170 // An InstantMostVisitedItem along with its assigned restricted ID. | 172 // An InstantMostVisitedItem along with its assigned restricted ID. |
| 171 typedef std::pair<InstantRestrictedID, InstantMostVisitedItem> | 173 typedef std::pair<InstantRestrictedID, InstantMostVisitedItem> |
| 172 InstantMostVisitedItemIDPair; | 174 InstantMostVisitedItemIDPair; |
| 173 | 175 |
| 174 #endif // CHROME_COMMON_INSTANT_TYPES_H_ | 176 #endif // CHROME_COMMON_INSTANT_TYPES_H_ |
| OLD | NEW |