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

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: 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 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_MEMBER(image_height)
178 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.
179
171 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules) 180 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules)
172 IPC_STRUCT_TRAITS_MEMBER(image_rules) 181 IPC_STRUCT_TRAITS_MEMBER(image_rules)
173 IPC_STRUCT_TRAITS_MEMBER(script_rules) 182 IPC_STRUCT_TRAITS_MEMBER(script_rules)
174 IPC_STRUCT_TRAITS_END() 183 IPC_STRUCT_TRAITS_END()
175 184
176 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStat) 185 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStat)
177 IPC_STRUCT_TRAITS_MEMBER(count) 186 IPC_STRUCT_TRAITS_MEMBER(count)
178 IPC_STRUCT_TRAITS_MEMBER(size) 187 IPC_STRUCT_TRAITS_MEMBER(size)
179 IPC_STRUCT_TRAITS_MEMBER(liveSize) 188 IPC_STRUCT_TRAITS_MEMBER(liveSize)
180 IPC_STRUCT_TRAITS_MEMBER(decodedSize) 189 IPC_STRUCT_TRAITS_MEMBER(decodedSize)
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxAutocompleteResults, 300 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxAutocompleteResults,
292 std::vector<InstantAutocompleteResult> 301 std::vector<InstantAutocompleteResult>
293 /* native_suggestions */) 302 /* native_suggestions */)
294 303
295 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed, 304 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed,
296 int /* count */) 305 int /* count */)
297 306
298 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxActiveTabModeChanged, 307 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxActiveTabModeChanged,
299 bool /* active_tab_is_ntp */) 308 bool /* active_tab_is_ntp */)
300 309
310 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeChanged,
311 ThemeBackgroundInfo /* value */)
312
313 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeAreaHeightChanged,
314 int /* height */)
315
301 // Toggles visual muting of the render view area. This is on when a constrained 316 // Toggles visual muting of the render view area. This is on when a constrained
302 // window is showing. 317 // window is showing.
303 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized, 318 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized,
304 bool /* deemphazied */) 319 bool /* deemphazied */)
305 320
306 // Tells the renderer to translate the page contents from one language to 321 // Tells the renderer to translate the page contents from one language to
307 // another. 322 // another.
308 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage, 323 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage,
309 int /* page id */, 324 int /* page id */,
310 std::string, /* the script injected in the page */ 325 std::string, /* the script injected in the page */
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 // previous SetCookie message to be processed. 666 // previous SetCookie message to be processed.
652 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 667 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
653 GURL /* url */, 668 GURL /* url */,
654 GURL /* first_party_for_cookies */, 669 GURL /* first_party_for_cookies */,
655 std::string /* cookies */) 670 std::string /* cookies */)
656 671
657 // Provide the browser process with current renderer framerate. 672 // Provide the browser process with current renderer framerate.
658 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 673 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
659 int /* routing id */, 674 int /* routing id */,
660 float /* frames per second */) 675 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698