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 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1645 base::FileDescriptor /* pcm_output */, | 1645 base::FileDescriptor /* pcm_output */, |
1646 uint32_t /* data_size*/) | 1646 uint32_t /* data_size*/) |
1647 | 1647 |
1648 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 1648 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
1649 // display events. If |enabled| is true, the BeginFrame message will continue | 1649 // display events. If |enabled| is true, the BeginFrame message will continue |
1650 // to be be delivered until the notification is disabled. | 1650 // to be be delivered until the notification is disabled. |
1651 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, | 1651 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, |
1652 bool /* enabled */) | 1652 bool /* enabled */) |
1653 | 1653 |
1654 // Reply to the ViewMsg_ExtractSmartClipData message. | 1654 // Reply to the ViewMsg_ExtractSmartClipData message. |
1655 IPC_MESSAGE_ROUTED2(ViewHostMsg_SmartClipDataExtracted, | 1655 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, |
1656 base::string16 /* result */, | 1656 base::string16 /* text */, |
| 1657 base::string16 /* html */, |
1657 gfx::Rect /* rect */) | 1658 gfx::Rect /* rect */) |
1658 | 1659 |
1659 #elif defined(OS_MACOSX) | 1660 #elif defined(OS_MACOSX) |
1660 // Request that the browser load a font into shared memory for us. | 1661 // Request that the browser load a font into shared memory for us. |
1661 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, | 1662 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, |
1662 FontDescriptor /* font to load */, | 1663 FontDescriptor /* font to load */, |
1663 uint32 /* buffer size */, | 1664 uint32 /* buffer size */, |
1664 base::SharedMemoryHandle /* font data */, | 1665 base::SharedMemoryHandle /* font data */, |
1665 uint32 /* font id */) | 1666 uint32 /* font id */) |
1666 | 1667 |
(...skipping 31 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 |