| 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/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1314 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, | 1314 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, |
| 1315 string16 /* text */, | 1315 string16 /* text */, |
| 1316 int /* plugin_id */) | 1316 int /* plugin_id */) |
| 1317 | 1317 |
| 1318 // External popup menus. | 1318 // External popup menus. |
| 1319 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 1319 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
| 1320 int /* selected index, -1 means no selection */) | 1320 int /* selected index, -1 means no selection */) |
| 1321 #endif | 1321 #endif |
| 1322 | 1322 |
| 1323 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. | 1323 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. |
| 1324 IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck, | 1324 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, |
| 1325 uint32 /* output_surface_id */, |
| 1325 cc::CompositorFrameAck /* ack */) | 1326 cc::CompositorFrameAck /* ack */) |
| 1326 | 1327 |
| 1327 // Sent by the browser to ask the renderer for a snapshot of the current view. | 1328 // Sent by the browser to ask the renderer for a snapshot of the current view. |
| 1328 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot, | 1329 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot, |
| 1329 gfx::Rect /* src_subrect */) | 1330 gfx::Rect /* src_subrect */) |
| 1330 | 1331 |
| 1331 // ----------------------------------------------------------------------------- | 1332 // ----------------------------------------------------------------------------- |
| 1332 // Messages sent from the renderer to the browser. | 1333 // Messages sent from the renderer to the browser. |
| 1333 | 1334 |
| 1334 // Sent by the renderer when it is creating a new window. The browser creates | 1335 // Sent by the renderer when it is creating a new window. The browser creates |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2045 IPC_STRUCT_MEMBER(ui::LatencyInfo, latency_info) | 2046 IPC_STRUCT_MEMBER(ui::LatencyInfo, latency_info) |
| 2046 IPC_STRUCT_END() | 2047 IPC_STRUCT_END() |
| 2047 | 2048 |
| 2048 // This message is synthesized by GpuProcessHost to pass through a swap message | 2049 // This message is synthesized by GpuProcessHost to pass through a swap message |
| 2049 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a | 2050 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a |
| 2050 // software or GPU frame. | 2051 // software or GPU frame. |
| 2051 IPC_MESSAGE_ROUTED1( | 2052 IPC_MESSAGE_ROUTED1( |
| 2052 ViewHostMsg_CompositorSurfaceBuffersSwapped, | 2053 ViewHostMsg_CompositorSurfaceBuffersSwapped, |
| 2053 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 2054 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) |
| 2054 | 2055 |
| 2055 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame, | 2056 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, |
| 2057 uint32 /* output_surface_id */, |
| 2056 cc::CompositorFrame /* frame */) | 2058 cc::CompositorFrame /* frame */) |
| 2057 | 2059 |
| 2058 // Sent by the compositor when input scroll events are dropped due to bounds | 2060 // Sent by the compositor when input scroll events are dropped due to bounds |
| 2059 // restricions on the root scroll offset. | 2061 // restricions on the root scroll offset. |
| 2060 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, | 2062 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, |
| 2061 gfx::Vector2dF /* accumulated_overscroll */, | 2063 gfx::Vector2dF /* accumulated_overscroll */, |
| 2062 gfx::Vector2dF /* current_fling_velocity */) | 2064 gfx::Vector2dF /* current_fling_velocity */) |
| 2063 | 2065 |
| 2064 // Opens a file asynchronously. The response returns a file descriptor | 2066 // Opens a file asynchronously. The response returns a file descriptor |
| 2065 // and an error code from base/platform_file.h. | 2067 // and an error code from base/platform_file.h. |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2334 // synchronously (see crbug.com/120597). This IPC message sends the character | 2336 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2335 // bounds after every composition change to always have correct bound info. | 2337 // bounds after every composition change to always have correct bound info. |
| 2336 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2338 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2337 ui::Range /* composition range */, | 2339 ui::Range /* composition range */, |
| 2338 std::vector<gfx::Rect> /* character bounds */) | 2340 std::vector<gfx::Rect> /* character bounds */) |
| 2339 #endif | 2341 #endif |
| 2340 | 2342 |
| 2341 // Adding a new message? Stick to the sort order above: first platform | 2343 // Adding a new message? Stick to the sort order above: first platform |
| 2342 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2343 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |