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" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "content/public/common/common_param_traits.h" | 23 #include "content/public/common/common_param_traits.h" |
24 #include "content/public/common/favicon_url.h" | 24 #include "content/public/common/favicon_url.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/page_state.h" | 27 #include "content/public/common/page_state.h" |
28 #include "content/public/common/page_zoom.h" | 28 #include "content/public/common/page_zoom.h" |
29 #include "content/public/common/referrer.h" | 29 #include "content/public/common/referrer.h" |
30 #include "content/public/common/renderer_preferences.h" | 30 #include "content/public/common/renderer_preferences.h" |
31 #include "content/public/common/stop_find_action.h" | 31 #include "content/public/common/stop_find_action.h" |
32 #include "content/public/common/three_d_api_types.h" | 32 #include "content/public/common/three_d_api_types.h" |
| 33 #include "content/public/common/widget_visible_state.h" |
33 #include "content/public/common/window_container_type.h" | 34 #include "content/public/common/window_container_type.h" |
34 #include "content/common/date_time_suggestion.h" | 35 #include "content/common/date_time_suggestion.h" |
35 #include "ipc/ipc_channel_handle.h" | 36 #include "ipc/ipc_channel_handle.h" |
36 #include "ipc/ipc_message_macros.h" | 37 #include "ipc/ipc_message_macros.h" |
37 #include "ipc/ipc_platform_file.h" | 38 #include "ipc/ipc_platform_file.h" |
38 #include "media/audio/audio_parameters.h" | 39 #include "media/audio/audio_parameters.h" |
39 #include "media/base/channel_layout.h" | 40 #include "media/base/channel_layout.h" |
40 #include "media/base/media_log_event.h" | 41 #include "media/base/media_log_event.h" |
41 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 42 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
42 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 43 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) | 79 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) |
79 IPC_ENUM_TRAITS(content::MenuItem::Type) | 80 IPC_ENUM_TRAITS(content::MenuItem::Type) |
80 IPC_ENUM_TRAITS(content::NavigationGesture) | 81 IPC_ENUM_TRAITS(content::NavigationGesture) |
81 IPC_ENUM_TRAITS(content::PageZoom) | 82 IPC_ENUM_TRAITS(content::PageZoom) |
82 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) | 83 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) |
83 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) | 84 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) |
84 IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, | 85 IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, |
85 content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) | 86 content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) |
86 IPC_ENUM_TRAITS(content::StopFindAction) | 87 IPC_ENUM_TRAITS(content::StopFindAction) |
87 IPC_ENUM_TRAITS(content::ThreeDAPIType) | 88 IPC_ENUM_TRAITS(content::ThreeDAPIType) |
| 89 IPC_ENUM_TRAITS_MAX_VALUE(content::WidgetVisibleState, |
| 90 content::WIDGET_VISIBLE_STATE_MAX) |
88 IPC_ENUM_TRAITS(media::ChannelLayout) | 91 IPC_ENUM_TRAITS(media::ChannelLayout) |
89 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) | 92 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) |
90 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX) | 93 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX) |
91 IPC_ENUM_TRAITS(ui::TextInputType) | 94 IPC_ENUM_TRAITS(ui::TextInputType) |
92 | 95 |
93 #if defined(OS_MACOSX) | 96 #if defined(OS_MACOSX) |
94 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) | 97 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) |
95 IPC_STRUCT_TRAITS_MEMBER(font_name) | 98 IPC_STRUCT_TRAITS_MEMBER(font_name) |
96 IPC_STRUCT_TRAITS_MEMBER(font_point_size) | 99 IPC_STRUCT_TRAITS_MEMBER(font_point_size) |
97 IPC_STRUCT_TRAITS_END() | 100 IPC_STRUCT_TRAITS_END() |
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1527 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 1530 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
1528 IPC_STRUCT_END() | 1531 IPC_STRUCT_END() |
1529 | 1532 |
1530 // This message is synthesized by GpuProcessHost to pass through a swap message | 1533 // This message is synthesized by GpuProcessHost to pass through a swap message |
1531 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a | 1534 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a |
1532 // software or GPU frame. | 1535 // software or GPU frame. |
1533 IPC_MESSAGE_ROUTED1( | 1536 IPC_MESSAGE_ROUTED1( |
1534 ViewHostMsg_CompositorSurfaceBuffersSwapped, | 1537 ViewHostMsg_CompositorSurfaceBuffersSwapped, |
1535 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 1538 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) |
1536 | 1539 |
1537 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 1540 IPC_MESSAGE_ROUTED3(ViewHostMsg_SwapCompositorFrame, |
1538 uint32 /* output_surface_id */, | 1541 uint32 /* output_surface_id */, |
1539 cc::CompositorFrame /* frame */) | 1542 cc::CompositorFrame /* frame */) |
1540 | 1543 |
| 1544 IPC_MESSAGE_ROUTED1(ViewHostMsg_DeliverPayload, |
| 1545 IPC::Message /* payload */) |
| 1546 |
1541 // Sent by the compositor when input scroll events are dropped due to bounds | 1547 // Sent by the compositor when input scroll events are dropped due to bounds |
1542 // restricions on the root scroll offset. | 1548 // restricions on the root scroll offset. |
1543 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidOverscroll, | 1549 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidOverscroll, |
1544 content::DidOverscrollParams /* params */) | 1550 content::DidOverscrollParams /* params */) |
1545 | 1551 |
1546 // Sent by the compositor when a flinging animation is stopped. | 1552 // Sent by the compositor when a flinging animation is stopped. |
1547 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) | 1553 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) |
1548 | 1554 |
1549 //--------------------------------------------------------------------------- | 1555 //--------------------------------------------------------------------------- |
1550 // Request for cryptographic operation messages: | 1556 // Request for cryptographic operation messages: |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1796 // synchronously (see crbug.com/120597). This IPC message sends the character | 1802 // synchronously (see crbug.com/120597). This IPC message sends the character |
1797 // bounds after every composition change to always have correct bound info. | 1803 // bounds after every composition change to always have correct bound info. |
1798 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1804 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1799 gfx::Range /* composition range */, | 1805 gfx::Range /* composition range */, |
1800 std::vector<gfx::Rect> /* character bounds */) | 1806 std::vector<gfx::Rect> /* character bounds */) |
1801 #endif | 1807 #endif |
1802 | 1808 |
1803 // Adding a new message? Stick to the sort order above: first platform | 1809 // Adding a new message? Stick to the sort order above: first platform |
1804 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1810 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1805 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1811 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |