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 2048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2059 std::string /* name */) | 2059 std::string /* name */) |
2060 | 2060 |
2061 | 2061 |
2062 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params) | 2062 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params) |
2063 IPC_STRUCT_MEMBER(int32, surface_id) | 2063 IPC_STRUCT_MEMBER(int32, surface_id) |
2064 IPC_STRUCT_MEMBER(uint64, surface_handle) | 2064 IPC_STRUCT_MEMBER(uint64, surface_handle) |
2065 IPC_STRUCT_MEMBER(int32, route_id) | 2065 IPC_STRUCT_MEMBER(int32, route_id) |
2066 IPC_STRUCT_MEMBER(gfx::Size, size) | 2066 IPC_STRUCT_MEMBER(gfx::Size, size) |
2067 IPC_STRUCT_MEMBER(float, scale_factor) | 2067 IPC_STRUCT_MEMBER(float, scale_factor) |
2068 IPC_STRUCT_MEMBER(int32, gpu_process_host_id) | 2068 IPC_STRUCT_MEMBER(int32, gpu_process_host_id) |
2069 IPC_STRUCT_MEMBER(ui::LatencyInfo, latency_info) | 2069 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
2070 IPC_STRUCT_END() | 2070 IPC_STRUCT_END() |
2071 | 2071 |
2072 // This message is synthesized by GpuProcessHost to pass through a swap message | 2072 // This message is synthesized by GpuProcessHost to pass through a swap message |
2073 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a | 2073 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a |
2074 // software or GPU frame. | 2074 // software or GPU frame. |
2075 IPC_MESSAGE_ROUTED1( | 2075 IPC_MESSAGE_ROUTED1( |
2076 ViewHostMsg_CompositorSurfaceBuffersSwapped, | 2076 ViewHostMsg_CompositorSurfaceBuffersSwapped, |
2077 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 2077 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) |
2078 | 2078 |
2079 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 2079 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2347 // synchronously (see crbug.com/120597). This IPC message sends the character | 2347 // synchronously (see crbug.com/120597). This IPC message sends the character |
2348 // bounds after every composition change to always have correct bound info. | 2348 // bounds after every composition change to always have correct bound info. |
2349 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2349 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2350 gfx::Range /* composition range */, | 2350 gfx::Range /* composition range */, |
2351 std::vector<gfx::Rect> /* character bounds */) | 2351 std::vector<gfx::Rect> /* character bounds */) |
2352 #endif | 2352 #endif |
2353 | 2353 |
2354 // Adding a new message? Stick to the sort order above: first platform | 2354 // Adding a new message? Stick to the sort order above: first platform |
2355 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2355 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2356 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2356 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |