| 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/input/did_overscroll_params.h" | |
| 18 #include "content/common/input/input_event_ack_state.h" | |
| 19 #include "content/common/navigation_gesture.h" | 17 #include "content/common/navigation_gesture.h" |
| 20 #include "content/common/pepper_renderer_instance_data.h" | 18 #include "content/common/pepper_renderer_instance_data.h" |
| 21 #include "content/common/view_message_enums.h" | 19 #include "content/common/view_message_enums.h" |
| 22 #include "content/common/webplugin_geometry.h" | 20 #include "content/common/webplugin_geometry.h" |
| 23 #include "content/public/common/common_param_traits.h" | 21 #include "content/public/common/common_param_traits.h" |
| 24 #include "content/public/common/favicon_url.h" | 22 #include "content/public/common/favicon_url.h" |
| 25 #include "content/public/common/file_chooser_params.h" | 23 #include "content/public/common/file_chooser_params.h" |
| 26 #include "content/public/common/menu_item.h" | 24 #include "content/public/common/menu_item.h" |
| 27 #include "content/public/common/page_state.h" | 25 #include "content/public/common/page_state.h" |
| 28 #include "content/public/common/page_zoom.h" | 26 #include "content/public/common/page_zoom.h" |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 IPC_STRUCT_TRAITS_MEMBER(checked) | 145 IPC_STRUCT_TRAITS_MEMBER(checked) |
| 148 IPC_STRUCT_TRAITS_MEMBER(submenu) | 146 IPC_STRUCT_TRAITS_MEMBER(submenu) |
| 149 IPC_STRUCT_TRAITS_END() | 147 IPC_STRUCT_TRAITS_END() |
| 150 | 148 |
| 151 IPC_STRUCT_TRAITS_BEGIN(content::DateTimeSuggestion) | 149 IPC_STRUCT_TRAITS_BEGIN(content::DateTimeSuggestion) |
| 152 IPC_STRUCT_TRAITS_MEMBER(value) | 150 IPC_STRUCT_TRAITS_MEMBER(value) |
| 153 IPC_STRUCT_TRAITS_MEMBER(localized_value) | 151 IPC_STRUCT_TRAITS_MEMBER(localized_value) |
| 154 IPC_STRUCT_TRAITS_MEMBER(label) | 152 IPC_STRUCT_TRAITS_MEMBER(label) |
| 155 IPC_STRUCT_TRAITS_END() | 153 IPC_STRUCT_TRAITS_END() |
| 156 | 154 |
| 157 IPC_STRUCT_TRAITS_BEGIN(content::DidOverscrollParams) | |
| 158 IPC_STRUCT_TRAITS_MEMBER(accumulated_overscroll) | |
| 159 IPC_STRUCT_TRAITS_MEMBER(latest_overscroll_delta) | |
| 160 IPC_STRUCT_TRAITS_MEMBER(current_fling_velocity) | |
| 161 IPC_STRUCT_TRAITS_END() | |
| 162 | |
| 163 IPC_STRUCT_TRAITS_BEGIN(content::FaviconURL) | 155 IPC_STRUCT_TRAITS_BEGIN(content::FaviconURL) |
| 164 IPC_STRUCT_TRAITS_MEMBER(icon_url) | 156 IPC_STRUCT_TRAITS_MEMBER(icon_url) |
| 165 IPC_STRUCT_TRAITS_MEMBER(icon_type) | 157 IPC_STRUCT_TRAITS_MEMBER(icon_type) |
| 166 IPC_STRUCT_TRAITS_MEMBER(icon_sizes) | 158 IPC_STRUCT_TRAITS_MEMBER(icon_sizes) |
| 167 IPC_STRUCT_TRAITS_END() | 159 IPC_STRUCT_TRAITS_END() |
| 168 | 160 |
| 169 IPC_STRUCT_TRAITS_BEGIN(content::FileChooserParams) | 161 IPC_STRUCT_TRAITS_BEGIN(content::FileChooserParams) |
| 170 IPC_STRUCT_TRAITS_MEMBER(mode) | 162 IPC_STRUCT_TRAITS_MEMBER(mode) |
| 171 IPC_STRUCT_TRAITS_MEMBER(title) | 163 IPC_STRUCT_TRAITS_MEMBER(title) |
| 172 IPC_STRUCT_TRAITS_MEMBER(default_file_name) | 164 IPC_STRUCT_TRAITS_MEMBER(default_file_name) |
| (...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1501 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a | 1493 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a |
| 1502 // software or GPU frame. | 1494 // software or GPU frame. |
| 1503 IPC_MESSAGE_ROUTED1( | 1495 IPC_MESSAGE_ROUTED1( |
| 1504 ViewHostMsg_CompositorSurfaceBuffersSwapped, | 1496 ViewHostMsg_CompositorSurfaceBuffersSwapped, |
| 1505 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 1497 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) |
| 1506 | 1498 |
| 1507 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 1499 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, |
| 1508 uint32 /* output_surface_id */, | 1500 uint32 /* output_surface_id */, |
| 1509 cc::CompositorFrame /* frame */) | 1501 cc::CompositorFrame /* frame */) |
| 1510 | 1502 |
| 1511 // Sent by the compositor when input scroll events are dropped due to bounds | |
| 1512 // restricions on the root scroll offset. | |
| 1513 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidOverscroll, | |
| 1514 content::DidOverscrollParams /* params */) | |
| 1515 | |
| 1516 // Sent by the compositor when a flinging animation is stopped. | 1503 // Sent by the compositor when a flinging animation is stopped. |
| 1517 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) | 1504 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) |
| 1518 | 1505 |
| 1519 //--------------------------------------------------------------------------- | 1506 //--------------------------------------------------------------------------- |
| 1520 // Request for cryptographic operation messages: | 1507 // Request for cryptographic operation messages: |
| 1521 // These are messages from the renderer to the browser to perform a | 1508 // These are messages from the renderer to the browser to perform a |
| 1522 // cryptographic operation. | 1509 // cryptographic operation. |
| 1523 | 1510 |
| 1524 // Asks the browser process to generate a keypair for grabbing a client | 1511 // Asks the browser process to generate a keypair for grabbing a client |
| 1525 // certificate from a CA (<keygen> tag), and returns the signed public | 1512 // certificate from a CA (<keygen> tag), and returns the signed public |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1764 // synchronously (see crbug.com/120597). This IPC message sends the character | 1751 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 1765 // bounds after every composition change to always have correct bound info. | 1752 // bounds after every composition change to always have correct bound info. |
| 1766 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1753 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 1767 gfx::Range /* composition range */, | 1754 gfx::Range /* composition range */, |
| 1768 std::vector<gfx::Rect> /* character bounds */) | 1755 std::vector<gfx::Rect> /* character bounds */) |
| 1769 #endif | 1756 #endif |
| 1770 | 1757 |
| 1771 // Adding a new message? Stick to the sort order above: first platform | 1758 // Adding a new message? Stick to the sort order above: first platform |
| 1772 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1759 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1773 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1760 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |