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

Unified Diff: chrome/common/render_messages.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: addressed scott's comments 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
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 500f7f30478da747b77a08a45270058dc2916509..5b51b7975b3858990fd8cd379df2a0993599917a 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -168,6 +168,15 @@ IPC_STRUCT_TRAITS_BEGIN(InstantSuggestion)
IPC_STRUCT_TRAITS_MEMBER(type)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(ThemeBackgroundInfo)
+ IPC_STRUCT_TRAITS_MEMBER(color_rgba)
+ IPC_STRUCT_TRAITS_MEMBER(image_url)
+ IPC_STRUCT_TRAITS_MEMBER(image_horizontal_alignment)
+ IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment)
+ IPC_STRUCT_TRAITS_MEMBER(image_tiling)
+ IPC_STRUCT_TRAITS_MEMBER(image_height)
+IPC_STRUCT_TRAITS_END()
sreeram 2012/11/19 18:12:02 Move this one block down, to preserve alpha order.
kuan 2012/11/19 22:06:07 Done.
+
IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules)
IPC_STRUCT_TRAITS_MEMBER(image_rules)
IPC_STRUCT_TRAITS_MEMBER(script_rules)
@@ -298,6 +307,12 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed,
IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxActiveTabModeChanged,
bool /* active_tab_is_ntp */)
+IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeChanged,
+ ThemeBackgroundInfo /* value */)
+
+IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeAreaHeightChanged,
+ int /* height */)
+
// Toggles visual muting of the render view area. This is on when a constrained
// window is showing.
IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized,

Powered by Google App Engine
This is Rietveld 408576698