Index: chrome/common/instant_types.h |
diff --git a/chrome/common/instant_types.h b/chrome/common/instant_types.h |
index 3826075092af7e1b6060198c6632c96c92f5d818..b8ef033864a385dddaade52fa4136dab64f7deca 100644 |
--- a/chrome/common/instant_types.h |
+++ b/chrome/common/instant_types.h |
@@ -130,6 +130,7 @@ enum ThemeBackgroundImageAlignment { |
THEME_BKGRND_IMAGE_ALIGN_TOP, |
THEME_BKGRND_IMAGE_ALIGN_RIGHT, |
THEME_BKGRND_IMAGE_ALIGN_BOTTOM, |
+ THEME_BKGRND_INVALID_ALIGNMENT, |
}; |
// The tiling of the theme background image. |
@@ -138,12 +139,17 @@ enum ThemeBackgroundImageTiling { |
THEME_BKGRND_IMAGE_REPEAT_X, |
THEME_BKGRND_IMAGE_REPEAT_Y, |
THEME_BKGRND_IMAGE_REPEAT, |
+ THEME_BKGRND_INVALID_REPEAT, |
}; |
struct ThemeBackgroundInfo { |
ThemeBackgroundInfo(); |
~ThemeBackgroundInfo(); |
+ void Initialize(); |
+ bool IsValid() const; |
+ bool operator==(const ThemeBackgroundInfo& rhs) const; |
+ |
// The theme background color in RGBA format where the R, G, B and A values |
// are between 0 and 255 inclusive and always valid. |
int color_r; |