Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5203)

Unified Diff: chrome/common/instant_types.h

Issue 11413018: alternate ntp: implement searchbox api for instant overlay to adopt themes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed to only send ht change when there's theme image Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | chrome/common/instant_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | chrome/common/instant_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698