| 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 2030 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2041                     std::string /* name */) | 2041                     std::string /* name */) | 
| 2042 | 2042 | 
| 2043 | 2043 | 
| 2044 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params) | 2044 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params) | 
| 2045   IPC_STRUCT_MEMBER(int32, surface_id) | 2045   IPC_STRUCT_MEMBER(int32, surface_id) | 
| 2046   IPC_STRUCT_MEMBER(uint64, surface_handle) | 2046   IPC_STRUCT_MEMBER(uint64, surface_handle) | 
| 2047   IPC_STRUCT_MEMBER(int32, route_id) | 2047   IPC_STRUCT_MEMBER(int32, route_id) | 
| 2048   IPC_STRUCT_MEMBER(gfx::Size, size) | 2048   IPC_STRUCT_MEMBER(gfx::Size, size) | 
| 2049   IPC_STRUCT_MEMBER(float, scale_factor) | 2049   IPC_STRUCT_MEMBER(float, scale_factor) | 
| 2050   IPC_STRUCT_MEMBER(int32, gpu_process_host_id) | 2050   IPC_STRUCT_MEMBER(int32, gpu_process_host_id) | 
| 2051   IPC_STRUCT_MEMBER(ui::LatencyInfo, latency_info) | 2051   IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 
| 2052 IPC_STRUCT_END() | 2052 IPC_STRUCT_END() | 
| 2053 | 2053 | 
| 2054 // This message is synthesized by GpuProcessHost to pass through a swap message | 2054 // This message is synthesized by GpuProcessHost to pass through a swap message | 
| 2055 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a | 2055 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a | 
| 2056 // software or GPU frame. | 2056 // software or GPU frame. | 
| 2057 IPC_MESSAGE_ROUTED1( | 2057 IPC_MESSAGE_ROUTED1( | 
| 2058     ViewHostMsg_CompositorSurfaceBuffersSwapped, | 2058     ViewHostMsg_CompositorSurfaceBuffersSwapped, | 
| 2059     ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 2059     ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 
| 2060 | 2060 | 
| 2061 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 2061 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2336 // synchronously (see crbug.com/120597). This IPC message sends the character | 2336 // synchronously (see crbug.com/120597). This IPC message sends the character | 
| 2337 // bounds after every composition change to always have correct bound info. | 2337 // bounds after every composition change to always have correct bound info. | 
| 2338 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2338 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 
| 2339                     gfx::Range /* composition range */, | 2339                     gfx::Range /* composition range */, | 
| 2340                     std::vector<gfx::Rect> /* character bounds */) | 2340                     std::vector<gfx::Rect> /* character bounds */) | 
| 2341 #endif | 2341 #endif | 
| 2342 | 2342 | 
| 2343 // 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 | 
| 2344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 
| 2345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 
| OLD | NEW | 
|---|