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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "cc/output/begin_frame_args.h" | 11 #include "cc/output/begin_frame_args.h" |
12 #include "cc/output/compositor_frame.h" | 12 #include "cc/output/compositor_frame.h" |
13 #include "cc/output/compositor_frame_ack.h" | 13 #include "cc/output/compositor_frame_ack.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "content/common/content_param_traits.h" | 15 #include "content/common/content_param_traits.h" |
16 #include "content/common/cookie_data.h" | 16 #include "content/common/cookie_data.h" |
17 #include "content/common/date_time_suggestion.h" | 17 #include "content/common/date_time_suggestion.h" |
18 #include "content/common/frame_replication_state.h" | 18 #include "content/common/frame_replication_state.h" |
19 #include "content/common/navigation_gesture.h" | 19 #include "content/common/navigation_gesture.h" |
20 #include "content/common/view_message_enums.h" | 20 #include "content/common/view_message_enums.h" |
21 #include "content/common/webplugin_geometry.h" | 21 #include "content/common/webplugin_geometry.h" |
22 #include "content/public/common/common_param_traits.h" | 22 #include "content/public/common/common_param_traits.h" |
23 #include "content/public/common/favicon_url.h" | 23 #include "content/public/common/favicon_url.h" |
24 #include "content/public/common/file_chooser_file_info.h" | 24 #include "content/public/common/file_chooser_file_info.h" |
25 #include "content/public/common/file_chooser_params.h" | 25 #include "content/public/common/file_chooser_params.h" |
26 #include "content/public/common/menu_item.h" | 26 #include "content/public/common/menu_item.h" |
| 27 #include "content/public/common/message_port_types.h" |
27 #include "content/public/common/page_state.h" | 28 #include "content/public/common/page_state.h" |
28 #include "content/public/common/page_zoom.h" | 29 #include "content/public/common/page_zoom.h" |
29 #include "content/public/common/referrer.h" | 30 #include "content/public/common/referrer.h" |
30 #include "content/public/common/renderer_preferences.h" | 31 #include "content/public/common/renderer_preferences.h" |
31 #include "content/public/common/stop_find_action.h" | 32 #include "content/public/common/stop_find_action.h" |
32 #include "content/public/common/three_d_api_types.h" | 33 #include "content/public/common/three_d_api_types.h" |
33 #include "content/public/common/window_container_type.h" | 34 #include "content/public/common/window_container_type.h" |
34 #include "ipc/ipc_channel_handle.h" | 35 #include "ipc/ipc_channel_handle.h" |
35 #include "ipc/ipc_message_macros.h" | 36 #include "ipc/ipc_message_macros.h" |
36 #include "ipc/ipc_platform_file.h" | 37 #include "ipc/ipc_platform_file.h" |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 // equivalent (swapped out) frame in the destination process. | 529 // equivalent (swapped out) frame in the destination process. |
529 IPC_STRUCT_MEMBER(int, source_routing_id) | 530 IPC_STRUCT_MEMBER(int, source_routing_id) |
530 | 531 |
531 // The origin of the source frame. | 532 // The origin of the source frame. |
532 IPC_STRUCT_MEMBER(base::string16, source_origin) | 533 IPC_STRUCT_MEMBER(base::string16, source_origin) |
533 | 534 |
534 // The origin for the message's target. | 535 // The origin for the message's target. |
535 IPC_STRUCT_MEMBER(base::string16, target_origin) | 536 IPC_STRUCT_MEMBER(base::string16, target_origin) |
536 | 537 |
537 // Information about the MessagePorts this message contains. | 538 // Information about the MessagePorts this message contains. |
538 IPC_STRUCT_MEMBER(std::vector<int>, message_port_ids) | 539 IPC_STRUCT_MEMBER(std::vector<content::TransferredMessagePort>, message_ports) |
539 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids) | 540 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids) |
540 IPC_STRUCT_END() | 541 IPC_STRUCT_END() |
541 | 542 |
542 // Messages sent from the browser to the renderer. | 543 // Messages sent from the browser to the renderer. |
543 | 544 |
544 #if defined(OS_ANDROID) | 545 #if defined(OS_ANDROID) |
545 // Tells the renderer to cancel an opened date/time dialog. | 546 // Tells the renderer to cancel an opened date/time dialog. |
546 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) | 547 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) |
547 | 548 |
548 // Replaces a date time input field. | 549 // Replaces a date time input field. |
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1649 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1650 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1650 // for details. | 1651 // for details. |
1651 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1652 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1652 LOGFONT /* font_data */, | 1653 LOGFONT /* font_data */, |
1653 base::string16 /* characters */) | 1654 base::string16 /* characters */) |
1654 #endif | 1655 #endif |
1655 | 1656 |
1656 // Adding a new message? Stick to the sort order above: first platform | 1657 // Adding a new message? Stick to the sort order above: first platform |
1657 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1658 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1658 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1659 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |