Chromium Code Reviews| Index: chrome/common/instant_types.h |
| diff --git a/chrome/common/instant_types.h b/chrome/common/instant_types.h |
| index 627a565791f5e76828e00d17f4bb153dc564de7c..dc4ac1fc88a106cd3edc8195c2e86b32f04f2101 100644 |
| --- a/chrome/common/instant_types.h |
| +++ b/chrome/common/instant_types.h |
| @@ -93,4 +93,26 @@ enum InstantShownReason { |
| INSTANT_SHOWN_ZERO_SUGGESTIONS, |
| }; |
| +// Specifies information required for instant overlay to adopt the browser's |
| +// theme in |NTP| mode. |
| +struct ThemeBackgroundInfo { |
| + ThemeBackgroundInfo(); |
|
dhollowa
2012/11/15 22:00:33
ctor/dtor are not needed.
kuan
2012/11/15 22:19:16
Done.
kuan
2012/11/16 01:59:51
actually, i need them. clang doesn't build withou
|
| + ~ThemeBackgroundInfo(); |
| + |
| + // The background color in RGBA format. |
|
dhollowa
2012/11/15 22:00:33
nit: Elaborate on the format of this string please
kuan
2012/11/15 22:19:16
Done.
|
| + string16 color_rgba; |
| + |
| + // The image url. |
| + string16 image_url; |
| + |
| + // The image horizontal alignment. |
|
dhollowa
2012/11/15 22:00:33
ditto
kuan
2012/11/15 22:19:16
Done.
|
| + string16 image_horizontal_alignment; |
| + |
| + // The image vertical alignment. |
|
dhollowa
2012/11/15 22:00:33
ditto
kuan
2012/11/15 22:19:16
Done.
|
| + string16 image_vertical_alignment; |
| + |
| + // The tiling of the image. |
|
dhollowa
2012/11/15 22:00:33
ditto
kuan
2012/11/15 22:19:16
Done.
|
| + string16 image_tiling; |
| +}; |
| + |
| #endif // CHROME_COMMON_INSTANT_TYPES_H_ |