OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 IPC_STRUCT_TRAITS_END() | 138 IPC_STRUCT_TRAITS_END() |
139 | 139 |
140 IPC_STRUCT_TRAITS_BEGIN(ContentSettingPatternSource) | 140 IPC_STRUCT_TRAITS_BEGIN(ContentSettingPatternSource) |
141 IPC_STRUCT_TRAITS_MEMBER(primary_pattern) | 141 IPC_STRUCT_TRAITS_MEMBER(primary_pattern) |
142 IPC_STRUCT_TRAITS_MEMBER(secondary_pattern) | 142 IPC_STRUCT_TRAITS_MEMBER(secondary_pattern) |
143 IPC_STRUCT_TRAITS_MEMBER(setting) | 143 IPC_STRUCT_TRAITS_MEMBER(setting) |
144 IPC_STRUCT_TRAITS_MEMBER(source) | 144 IPC_STRUCT_TRAITS_MEMBER(source) |
145 IPC_STRUCT_TRAITS_MEMBER(incognito) | 145 IPC_STRUCT_TRAITS_MEMBER(incognito) |
146 IPC_STRUCT_TRAITS_END() | 146 IPC_STRUCT_TRAITS_END() |
147 | 147 |
| 148 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules) |
| 149 IPC_STRUCT_TRAITS_MEMBER(image_rules) |
| 150 IPC_STRUCT_TRAITS_MEMBER(script_rules) |
| 151 IPC_STRUCT_TRAITS_END() |
| 152 |
148 IPC_STRUCT_TRAITS_BEGIN(ThumbnailScore) | 153 IPC_STRUCT_TRAITS_BEGIN(ThumbnailScore) |
149 IPC_STRUCT_TRAITS_MEMBER(boring_score) | 154 IPC_STRUCT_TRAITS_MEMBER(boring_score) |
150 IPC_STRUCT_TRAITS_MEMBER(good_clipping) | 155 IPC_STRUCT_TRAITS_MEMBER(good_clipping) |
151 IPC_STRUCT_TRAITS_MEMBER(at_top) | 156 IPC_STRUCT_TRAITS_MEMBER(at_top) |
152 IPC_STRUCT_TRAITS_MEMBER(time_at_snapshot) | 157 IPC_STRUCT_TRAITS_MEMBER(time_at_snapshot) |
153 IPC_STRUCT_TRAITS_END() | 158 IPC_STRUCT_TRAITS_END() |
154 | 159 |
155 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStat) | 160 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStat) |
156 IPC_STRUCT_TRAITS_MEMBER(count) | 161 IPC_STRUCT_TRAITS_MEMBER(count) |
157 IPC_STRUCT_TRAITS_MEMBER(size) | 162 IPC_STRUCT_TRAITS_MEMBER(size) |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetContentSettingsForCurrentURL, | 240 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetContentSettingsForCurrentURL, |
236 GURL /* url */, | 241 GURL /* url */, |
237 ContentSettings /* content_settings */) | 242 ContentSettings /* content_settings */) |
238 | 243 |
239 // Set the content settings for a particular url that the renderer is in the | 244 // Set the content settings for a particular url that the renderer is in the |
240 // process of loading. This will be stored, to be used if the load commits | 245 // process of loading. This will be stored, to be used if the load commits |
241 // and ignored otherwise. | 246 // and ignored otherwise. |
242 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetDefaultContentSettings, | 247 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetDefaultContentSettings, |
243 ContentSettings /* content_settings */) | 248 ContentSettings /* content_settings */) |
244 | 249 |
245 // Set the content settings for images. | 250 // Set the content setting rules stored by the renderer. |
246 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetImageSettingRules, | 251 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetContentSettingRules, |
247 ContentSettingsForOneType /* rules */) | 252 RendererContentSettingRules /* rules */) |
248 | 253 |
249 // Tells the render view to load all blocked plugins. | 254 // Tells the render view to load all blocked plugins. |
250 IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins) | 255 IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins) |
251 | 256 |
252 // Asks the renderer to send back stats on the WebCore cache broken down by | 257 // Asks the renderer to send back stats on the WebCore cache broken down by |
253 // resource types. | 258 // resource types. |
254 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) | 259 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) |
255 | 260 |
256 // Asks the renderer to send back Histograms. | 261 // Asks the renderer to send back Histograms. |
257 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms, | 262 IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms, |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 // previous SetCookie message to be processed. | 659 // previous SetCookie message to be processed. |
655 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 660 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
656 GURL /* url */, | 661 GURL /* url */, |
657 GURL /* first_party_for_cookies */, | 662 GURL /* first_party_for_cookies */, |
658 std::string /* cookies */) | 663 std::string /* cookies */) |
659 | 664 |
660 // Provide the browser process with current renderer framerate. | 665 // Provide the browser process with current renderer framerate. |
661 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 666 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
662 int /* routing id */, | 667 int /* routing id */, |
663 float /* frames per second */) | 668 float /* frames per second */) |
OLD | NEW |