OLD | NEW |
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 #define IPC_MESSAGE_START ChromeMsgStart | 113 #define IPC_MESSAGE_START ChromeMsgStart |
114 | 114 |
115 IPC_ENUM_TRAITS(ChromeViewHostMsg_GetPluginInfo_Status::Value) | 115 IPC_ENUM_TRAITS(ChromeViewHostMsg_GetPluginInfo_Status::Value) |
116 IPC_ENUM_TRAITS(InstantCompleteBehavior) | 116 IPC_ENUM_TRAITS(InstantCompleteBehavior) |
117 IPC_ENUM_TRAITS(InstantSizeUnits) | 117 IPC_ENUM_TRAITS(InstantSizeUnits) |
118 IPC_ENUM_TRAITS(InstantSuggestionType) | 118 IPC_ENUM_TRAITS(InstantSuggestionType) |
119 IPC_ENUM_TRAITS(InstantShownReason) | 119 IPC_ENUM_TRAITS(InstantShownReason) |
120 IPC_ENUM_TRAITS(search_provider::OSDDType) | 120 IPC_ENUM_TRAITS(search_provider::OSDDType) |
121 IPC_ENUM_TRAITS(search_provider::InstallState) | 121 IPC_ENUM_TRAITS(search_provider::InstallState) |
| 122 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) |
| 123 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) |
122 IPC_ENUM_TRAITS(TranslateErrors::Type) | 124 IPC_ENUM_TRAITS(TranslateErrors::Type) |
123 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) | 125 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) |
124 | 126 |
125 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) | 127 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) |
126 IPC_STRUCT_TRAITS_MEMBER(value) | 128 IPC_STRUCT_TRAITS_MEMBER(value) |
127 IPC_STRUCT_TRAITS_END() | 129 IPC_STRUCT_TRAITS_END() |
128 | 130 |
129 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. | 131 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. |
130 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) | 132 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) |
131 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status) | 133 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status) |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 IPC_STRUCT_TRAITS_MEMBER(text) | 168 IPC_STRUCT_TRAITS_MEMBER(text) |
167 IPC_STRUCT_TRAITS_MEMBER(behavior) | 169 IPC_STRUCT_TRAITS_MEMBER(behavior) |
168 IPC_STRUCT_TRAITS_MEMBER(type) | 170 IPC_STRUCT_TRAITS_MEMBER(type) |
169 IPC_STRUCT_TRAITS_END() | 171 IPC_STRUCT_TRAITS_END() |
170 | 172 |
171 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules) | 173 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules) |
172 IPC_STRUCT_TRAITS_MEMBER(image_rules) | 174 IPC_STRUCT_TRAITS_MEMBER(image_rules) |
173 IPC_STRUCT_TRAITS_MEMBER(script_rules) | 175 IPC_STRUCT_TRAITS_MEMBER(script_rules) |
174 IPC_STRUCT_TRAITS_END() | 176 IPC_STRUCT_TRAITS_END() |
175 | 177 |
| 178 IPC_STRUCT_TRAITS_BEGIN(ThemeBackgroundInfo) |
| 179 IPC_STRUCT_TRAITS_MEMBER(color_r) |
| 180 IPC_STRUCT_TRAITS_MEMBER(color_g) |
| 181 IPC_STRUCT_TRAITS_MEMBER(color_b) |
| 182 IPC_STRUCT_TRAITS_MEMBER(color_a) |
| 183 IPC_STRUCT_TRAITS_MEMBER(theme_id) |
| 184 IPC_STRUCT_TRAITS_MEMBER(image_horizontal_alignment) |
| 185 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment) |
| 186 IPC_STRUCT_TRAITS_MEMBER(image_tiling) |
| 187 IPC_STRUCT_TRAITS_MEMBER(image_height) |
| 188 IPC_STRUCT_TRAITS_END() |
| 189 |
176 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStat) | 190 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStat) |
177 IPC_STRUCT_TRAITS_MEMBER(count) | 191 IPC_STRUCT_TRAITS_MEMBER(count) |
178 IPC_STRUCT_TRAITS_MEMBER(size) | 192 IPC_STRUCT_TRAITS_MEMBER(size) |
179 IPC_STRUCT_TRAITS_MEMBER(liveSize) | 193 IPC_STRUCT_TRAITS_MEMBER(liveSize) |
180 IPC_STRUCT_TRAITS_MEMBER(decodedSize) | 194 IPC_STRUCT_TRAITS_MEMBER(decodedSize) |
181 IPC_STRUCT_TRAITS_END() | 195 IPC_STRUCT_TRAITS_END() |
182 | 196 |
183 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStats) | 197 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStats) |
184 IPC_STRUCT_TRAITS_MEMBER(images) | 198 IPC_STRUCT_TRAITS_MEMBER(images) |
185 IPC_STRUCT_TRAITS_MEMBER(cssStyleSheets) | 199 IPC_STRUCT_TRAITS_MEMBER(cssStyleSheets) |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxAutocompleteResults, | 305 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxAutocompleteResults, |
292 std::vector<InstantAutocompleteResult> | 306 std::vector<InstantAutocompleteResult> |
293 /* native_suggestions */) | 307 /* native_suggestions */) |
294 | 308 |
295 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed, | 309 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed, |
296 int /* count */) | 310 int /* count */) |
297 | 311 |
298 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxActiveTabModeChanged, | 312 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxActiveTabModeChanged, |
299 bool /* active_tab_is_ntp */) | 313 bool /* active_tab_is_ntp */) |
300 | 314 |
| 315 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeChanged, |
| 316 ThemeBackgroundInfo /* value */) |
| 317 |
| 318 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeAreaHeightChanged, |
| 319 int /* height */) |
| 320 |
301 // Toggles visual muting of the render view area. This is on when a constrained | 321 // Toggles visual muting of the render view area. This is on when a constrained |
302 // window is showing. | 322 // window is showing. |
303 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized, | 323 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized, |
304 bool /* deemphazied */) | 324 bool /* deemphazied */) |
305 | 325 |
306 // Tells the renderer to translate the page contents from one language to | 326 // Tells the renderer to translate the page contents from one language to |
307 // another. | 327 // another. |
308 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage, | 328 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage, |
309 int /* page id */, | 329 int /* page id */, |
310 std::string, /* the script injected in the page */ | 330 std::string, /* the script injected in the page */ |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 // previous SetCookie message to be processed. | 671 // previous SetCookie message to be processed. |
652 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 672 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
653 GURL /* url */, | 673 GURL /* url */, |
654 GURL /* first_party_for_cookies */, | 674 GURL /* first_party_for_cookies */, |
655 std::string /* cookies */) | 675 std::string /* cookies */) |
656 | 676 |
657 // Provide the browser process with current renderer framerate. | 677 // Provide the browser process with current renderer framerate. |
658 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 678 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
659 int /* routing id */, | 679 int /* routing id */, |
660 float /* frames per second */) | 680 float /* frames per second */) |
OLD | NEW |