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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 IPC_STRUCT_TRAITS_MEMBER(destination_url) 161 IPC_STRUCT_TRAITS_MEMBER(destination_url)
162 IPC_STRUCT_TRAITS_MEMBER(relevance) 162 IPC_STRUCT_TRAITS_MEMBER(relevance)
163 IPC_STRUCT_TRAITS_END() 163 IPC_STRUCT_TRAITS_END()
164 164
165 IPC_STRUCT_TRAITS_BEGIN(InstantSuggestion) 165 IPC_STRUCT_TRAITS_BEGIN(InstantSuggestion)
166 IPC_STRUCT_TRAITS_MEMBER(text) 166 IPC_STRUCT_TRAITS_MEMBER(text)
167 IPC_STRUCT_TRAITS_MEMBER(behavior) 167 IPC_STRUCT_TRAITS_MEMBER(behavior)
168 IPC_STRUCT_TRAITS_MEMBER(type) 168 IPC_STRUCT_TRAITS_MEMBER(type)
169 IPC_STRUCT_TRAITS_END() 169 IPC_STRUCT_TRAITS_END()
170 170
171 IPC_STRUCT_TRAITS_BEGIN(ThemeBackgroundInfo)
172 IPC_STRUCT_TRAITS_MEMBER(color_rgba)
173 IPC_STRUCT_TRAITS_MEMBER(image_url)
174 IPC_STRUCT_TRAITS_MEMBER(image_horizontal_alignment)
175 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment)
176 IPC_STRUCT_TRAITS_MEMBER(image_tiling)
177 IPC_STRUCT_TRAITS_END()
178
171 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules) 179 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules)
172 IPC_STRUCT_TRAITS_MEMBER(image_rules) 180 IPC_STRUCT_TRAITS_MEMBER(image_rules)
173 IPC_STRUCT_TRAITS_MEMBER(script_rules) 181 IPC_STRUCT_TRAITS_MEMBER(script_rules)
174 IPC_STRUCT_TRAITS_END() 182 IPC_STRUCT_TRAITS_END()
175 183
176 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStat) 184 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStat)
177 IPC_STRUCT_TRAITS_MEMBER(count) 185 IPC_STRUCT_TRAITS_MEMBER(count)
178 IPC_STRUCT_TRAITS_MEMBER(size) 186 IPC_STRUCT_TRAITS_MEMBER(size)
179 IPC_STRUCT_TRAITS_MEMBER(liveSize) 187 IPC_STRUCT_TRAITS_MEMBER(liveSize)
180 IPC_STRUCT_TRAITS_MEMBER(decodedSize) 188 IPC_STRUCT_TRAITS_MEMBER(decodedSize)
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed, 303 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed,
296 int /* count */) 304 int /* count */)
297 305
298 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxFocus) 306 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxFocus)
299 307
300 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxBlur) 308 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxBlur)
301 309
302 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxActiveTabModeChanged, 310 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxActiveTabModeChanged,
303 bool /* active_tab_is_ntp */) 311 bool /* active_tab_is_ntp */)
304 312
313 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeChanged,
314 ThemeBackgroundInfo /* value */)
315
316 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeAreaHeightChanged,
317 int /* height */)
318
305 // Toggles visual muting of the render view area. This is on when a constrained 319 // Toggles visual muting of the render view area. This is on when a constrained
306 // window is showing. 320 // window is showing.
307 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized, 321 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized,
308 bool /* deemphazied */) 322 bool /* deemphazied */)
309 323
310 // Tells the renderer to translate the page contents from one language to 324 // Tells the renderer to translate the page contents from one language to
311 // another. 325 // another.
312 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage, 326 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage,
313 int /* page id */, 327 int /* page id */,
314 std::string, /* the script injected in the page */ 328 std::string, /* the script injected in the page */
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 // previous SetCookie message to be processed. 669 // previous SetCookie message to be processed.
656 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 670 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
657 GURL /* url */, 671 GURL /* url */,
658 GURL /* first_party_for_cookies */, 672 GURL /* first_party_for_cookies */,
659 std::string /* cookies */) 673 std::string /* cookies */)
660 674
661 // Provide the browser process with current renderer framerate. 675 // Provide the browser process with current renderer framerate.
662 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 676 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
663 int /* routing id */, 677 int /* routing id */,
664 float /* frames per second */) 678 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698