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

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: removed extra dispatch of theme area height on init 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()
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed, 304 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed,
296 int /* count */) 305 int /* count */)
297 306
298 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxFocus) 307 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxFocus)
299 308
300 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxBlur) 309 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxBlur)
301 310
302 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxActiveTabModeChanged, 311 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxActiveTabModeChanged,
303 bool /* active_tab_is_ntp */) 312 bool /* active_tab_is_ntp */)
304 313
314 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeChanged,
315 ThemeBackgroundInfo /* value */)
316
317 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeAreaHeightChanged,
318 int /* height */)
319
305 // Toggles visual muting of the render view area. This is on when a constrained 320 // Toggles visual muting of the render view area. This is on when a constrained
306 // window is showing. 321 // window is showing.
307 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized, 322 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized,
308 bool /* deemphazied */) 323 bool /* deemphazied */)
309 324
310 // Tells the renderer to translate the page contents from one language to 325 // Tells the renderer to translate the page contents from one language to
311 // another. 326 // another.
312 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage, 327 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage,
313 int /* page id */, 328 int /* page id */,
314 std::string, /* the script injected in the page */ 329 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. 670 // previous SetCookie message to be processed.
656 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 671 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
657 GURL /* url */, 672 GURL /* url */,
658 GURL /* first_party_for_cookies */, 673 GURL /* first_party_for_cookies */,
659 std::string /* cookies */) 674 std::string /* cookies */)
660 675
661 // Provide the browser process with current renderer framerate. 676 // Provide the browser process with current renderer framerate.
662 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 677 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
663 int /* routing id */, 678 int /* routing id */,
664 float /* frames per second */) 679 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698