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

Unified Diff: chrome/common/instant_types.cc

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: addressed sreeram's comments, fixed to not set theme fields if no theme 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/instant_types.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/instant_types.cc
diff --git a/chrome/common/instant_types.cc b/chrome/common/instant_types.cc
index 86b44612fabcc9a54108c16704a5d697cc124e5c..de9358140b86f8ba9a19201e4cda95b4c7d39bbc 100644
--- a/chrome/common/instant_types.cc
+++ b/chrome/common/instant_types.cc
@@ -25,3 +25,17 @@ InstantAutocompleteResult::InstantAutocompleteResult() : relevance(0) {
InstantAutocompleteResult::~InstantAutocompleteResult() {
}
+
+ThemeBackgroundInfo::ThemeBackgroundInfo()
+ : color_r(0),
+ color_g(0),
+ color_b(0),
+ color_a(0),
+ image_horizontal_alignment(THEME_BKGRND_IMAGE_ALIGN_CENTER),
+ image_vertical_alignment(THEME_BKGRND_IMAGE_ALIGN_CENTER),
+ image_tiling(THEME_BKGRND_IMAGE_NO_REPEAT),
+ image_height(0) {
+}
+
+ThemeBackgroundInfo::~ThemeBackgroundInfo() {
+}
« no previous file with comments | « chrome/common/instant_types.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698