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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name) | 278 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name) |
279 IPC_STRUCT_TRAITS_MEMBER(message_font_height) | 279 IPC_STRUCT_TRAITS_MEMBER(message_font_height) |
280 IPC_STRUCT_TRAITS_MEMBER(vertical_scroll_bar_width_in_dips) | 280 IPC_STRUCT_TRAITS_MEMBER(vertical_scroll_bar_width_in_dips) |
281 IPC_STRUCT_TRAITS_MEMBER(horizontal_scroll_bar_height_in_dips) | 281 IPC_STRUCT_TRAITS_MEMBER(horizontal_scroll_bar_height_in_dips) |
282 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_height_vertical_scroll_bar_in_dips) | 282 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_height_vertical_scroll_bar_in_dips) |
283 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_width_horizontal_scroll_bar_in_dips) | 283 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_width_horizontal_scroll_bar_in_dips) |
284 #endif | 284 #endif |
285 IPC_STRUCT_TRAITS_MEMBER(default_font_size) | 285 IPC_STRUCT_TRAITS_MEMBER(default_font_size) |
286 IPC_STRUCT_TRAITS_END() | 286 IPC_STRUCT_TRAITS_END() |
287 | 287 |
288 IPC_STRUCT_TRAITS_BEGIN(content::WebPluginGeometry) | |
289 IPC_STRUCT_TRAITS_MEMBER(window) | |
290 IPC_STRUCT_TRAITS_MEMBER(window_rect) | |
291 IPC_STRUCT_TRAITS_MEMBER(clip_rect) | |
292 IPC_STRUCT_TRAITS_MEMBER(cutout_rects) | |
293 IPC_STRUCT_TRAITS_MEMBER(rects_valid) | |
294 IPC_STRUCT_TRAITS_MEMBER(visible) | |
295 IPC_STRUCT_TRAITS_END() | |
296 | |
297 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent) | 288 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent) |
298 IPC_STRUCT_TRAITS_MEMBER(id) | 289 IPC_STRUCT_TRAITS_MEMBER(id) |
299 IPC_STRUCT_TRAITS_MEMBER(type) | 290 IPC_STRUCT_TRAITS_MEMBER(type) |
300 IPC_STRUCT_TRAITS_MEMBER(params) | 291 IPC_STRUCT_TRAITS_MEMBER(params) |
301 IPC_STRUCT_TRAITS_MEMBER(time) | 292 IPC_STRUCT_TRAITS_MEMBER(time) |
302 IPC_STRUCT_TRAITS_END() | 293 IPC_STRUCT_TRAITS_END() |
303 | 294 |
304 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) | 295 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) |
305 // Routing ID of the view initiating the open. | 296 // Routing ID of the view initiating the open. |
306 IPC_STRUCT_MEMBER(int, opener_id) | 297 IPC_STRUCT_MEMBER(int, opener_id) |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 IPC_STRUCT_END() | 453 IPC_STRUCT_END() |
463 | 454 |
464 IPC_STRUCT_BEGIN(ViewHostMsg_UpdateRect_Params) | 455 IPC_STRUCT_BEGIN(ViewHostMsg_UpdateRect_Params) |
465 // The size of the RenderView when this message was generated. This is | 456 // The size of the RenderView when this message was generated. This is |
466 // included so the host knows how large the view is from the perspective of | 457 // included so the host knows how large the view is from the perspective of |
467 // the renderer process. This is necessary in case a resize operation is in | 458 // the renderer process. This is necessary in case a resize operation is in |
468 // progress. If auto-resize is enabled, this should update the corresponding | 459 // progress. If auto-resize is enabled, this should update the corresponding |
469 // view size. | 460 // view size. |
470 IPC_STRUCT_MEMBER(gfx::Size, view_size) | 461 IPC_STRUCT_MEMBER(gfx::Size, view_size) |
471 | 462 |
472 // New window locations for plugin child windows. | |
473 IPC_STRUCT_MEMBER(std::vector<content::WebPluginGeometry>, | |
474 plugin_window_moves) | |
475 | |
476 // The following describes the various bits that may be set in flags: | 463 // The following describes the various bits that may be set in flags: |
477 // | 464 // |
478 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK | 465 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK |
479 // Indicates that this is a response to a ViewMsg_Resize message. | 466 // Indicates that this is a response to a ViewMsg_Resize message. |
480 // | 467 // |
481 // ViewHostMsg_UpdateRect_Flags::IS_REPAINT_ACK | 468 // ViewHostMsg_UpdateRect_Flags::IS_REPAINT_ACK |
482 // Indicates that this is a response to a ViewMsg_Repaint message. | 469 // Indicates that this is a response to a ViewMsg_Repaint message. |
483 // | 470 // |
484 // If flags is zero, then this message corresponds to an unsolicited paint | 471 // If flags is zero, then this message corresponds to an unsolicited paint |
485 // request by the render view. Any of the above bits may be set in flags, | 472 // request by the render view. Any of the above bits may be set in flags, |
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1334 // Instructs the browser to start plugin IME. | 1321 // Instructs the browser to start plugin IME. |
1335 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 1322 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
1336 | 1323 |
1337 // Receives content of a web page as plain text. | 1324 // Receives content of a web page as plain text. |
1338 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1325 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1339 #endif | 1326 #endif |
1340 | 1327 |
1341 // Adding a new message? Stick to the sort order above: first platform | 1328 // Adding a new message? Stick to the sort order above: first platform |
1342 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1329 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1343 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1330 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |