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 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1436 int /* minimum_percent */, | 1436 int /* minimum_percent */, |
1437 int /* maximum_percent */) | 1437 int /* maximum_percent */) |
1438 | 1438 |
1439 // Notify the browser that this render process can or can't be suddenly | 1439 // Notify the browser that this render process can or can't be suddenly |
1440 // terminated. | 1440 // terminated. |
1441 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, | 1441 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, |
1442 bool /* enabled */) | 1442 bool /* enabled */) |
1443 | 1443 |
1444 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params) | 1444 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params) |
1445 IPC_STRUCT_MEMBER(bool, use_native_widget) | 1445 IPC_STRUCT_MEMBER(bool, use_native_widget) |
| 1446 IPC_STRUCT_MEMBER(uint64, native_widget_token) |
1446 IPC_STRUCT_MEMBER(int32, surface_id) | 1447 IPC_STRUCT_MEMBER(int32, surface_id) |
1447 IPC_STRUCT_MEMBER(uint64, surface_handle) | 1448 IPC_STRUCT_MEMBER(uint64, surface_handle) |
1448 IPC_STRUCT_MEMBER(int32, route_id) | 1449 IPC_STRUCT_MEMBER(int32, route_id) |
1449 IPC_STRUCT_MEMBER(gfx::Size, size) | 1450 IPC_STRUCT_MEMBER(gfx::Size, size) |
1450 IPC_STRUCT_MEMBER(float, scale_factor) | 1451 IPC_STRUCT_MEMBER(float, scale_factor) |
1451 IPC_STRUCT_MEMBER(int32, gpu_process_host_id) | 1452 IPC_STRUCT_MEMBER(int32, gpu_process_host_id) |
1452 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 1453 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
1453 IPC_STRUCT_END() | 1454 IPC_STRUCT_END() |
1454 | 1455 |
1455 // This message is synthesized by GpuProcessHost to pass through a swap message | 1456 // This message is synthesized by GpuProcessHost to pass through a swap message |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1698 // Since the browser keeps handles to the allocated transport DIBs, this | 1699 // Since the browser keeps handles to the allocated transport DIBs, this |
1699 // message is sent to tell the browser that it may release them when the | 1700 // message is sent to tell the browser that it may release them when the |
1700 // renderer is finished with them. | 1701 // renderer is finished with them. |
1701 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1702 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1702 TransportDIB::Id /* DIB id */) | 1703 TransportDIB::Id /* DIB id */) |
1703 #endif | 1704 #endif |
1704 | 1705 |
1705 // Adding a new message? Stick to the sort order above: first platform | 1706 // Adding a new message? Stick to the sort order above: first platform |
1706 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1707 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1707 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1708 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |