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 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1446 int /* maximum_percent */) | 1446 int /* maximum_percent */) |
1447 | 1447 |
1448 // Notify the browser that this render process can or can't be suddenly | 1448 // Notify the browser that this render process can or can't be suddenly |
1449 // terminated. | 1449 // terminated. |
1450 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, | 1450 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, |
1451 bool /* enabled */) | 1451 bool /* enabled */) |
1452 | 1452 |
1453 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params) | 1453 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params) |
1454 IPC_STRUCT_MEMBER(int32, surface_id) | 1454 IPC_STRUCT_MEMBER(int32, surface_id) |
1455 IPC_STRUCT_MEMBER(uint64, surface_handle) | 1455 IPC_STRUCT_MEMBER(uint64, surface_handle) |
| 1456 #if defined(OS_MACOSX) |
| 1457 IPC_STRUCT_MEMBER(uint32, ca_context_id) |
| 1458 #endif |
1456 IPC_STRUCT_MEMBER(int32, route_id) | 1459 IPC_STRUCT_MEMBER(int32, route_id) |
1457 IPC_STRUCT_MEMBER(gfx::Size, size) | 1460 IPC_STRUCT_MEMBER(gfx::Size, size) |
1458 IPC_STRUCT_MEMBER(float, scale_factor) | 1461 IPC_STRUCT_MEMBER(float, scale_factor) |
1459 IPC_STRUCT_MEMBER(int32, gpu_process_host_id) | 1462 IPC_STRUCT_MEMBER(int32, gpu_process_host_id) |
1460 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 1463 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
1461 IPC_STRUCT_END() | 1464 IPC_STRUCT_END() |
1462 | 1465 |
1463 // This message is synthesized by GpuProcessHost to pass through a swap message | 1466 // This message is synthesized by GpuProcessHost to pass through a swap message |
1464 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a | 1467 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a |
1465 // software or GPU frame. | 1468 // software or GPU frame. |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1717 // synchronously (see crbug.com/120597). This IPC message sends the character | 1720 // synchronously (see crbug.com/120597). This IPC message sends the character |
1718 // bounds after every composition change to always have correct bound info. | 1721 // bounds after every composition change to always have correct bound info. |
1719 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1722 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1720 gfx::Range /* composition range */, | 1723 gfx::Range /* composition range */, |
1721 std::vector<gfx::Rect> /* character bounds */) | 1724 std::vector<gfx::Rect> /* character bounds */) |
1722 #endif | 1725 #endif |
1723 | 1726 |
1724 // Adding a new message? Stick to the sort order above: first platform | 1727 // Adding a new message? Stick to the sort order above: first platform |
1725 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1728 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1726 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1729 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |