| 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 1633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1644 base::FileDescriptor /* pcm_output */, | 1644 base::FileDescriptor /* pcm_output */, |
| 1645 uint32_t /* data_size*/) | 1645 uint32_t /* data_size*/) |
| 1646 | 1646 |
| 1647 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 1647 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
| 1648 // display events. If |enabled| is true, the BeginFrame message will continue | 1648 // display events. If |enabled| is true, the BeginFrame message will continue |
| 1649 // to be be delivered until the notification is disabled. | 1649 // to be be delivered until the notification is disabled. |
| 1650 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, | 1650 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, |
| 1651 bool /* enabled */) | 1651 bool /* enabled */) |
| 1652 | 1652 |
| 1653 // Reply to the ViewMsg_ExtractSmartClipData message. | 1653 // Reply to the ViewMsg_ExtractSmartClipData message. |
| 1654 IPC_MESSAGE_ROUTED2(ViewHostMsg_SmartClipDataExtracted, | 1654 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, |
| 1655 base::string16 /* result */, | 1655 base::string16 /* text */, |
| 1656 base::string16 /* html */, |
| 1656 gfx::Rect /* rect */) | 1657 gfx::Rect /* rect */) |
| 1657 | 1658 |
| 1658 #elif defined(OS_MACOSX) | 1659 #elif defined(OS_MACOSX) |
| 1659 // Request that the browser load a font into shared memory for us. | 1660 // Request that the browser load a font into shared memory for us. |
| 1660 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, | 1661 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, |
| 1661 FontDescriptor /* font to load */, | 1662 FontDescriptor /* font to load */, |
| 1662 uint32 /* buffer size */, | 1663 uint32 /* buffer size */, |
| 1663 base::SharedMemoryHandle /* font data */, | 1664 base::SharedMemoryHandle /* font data */, |
| 1664 uint32 /* font id */) | 1665 uint32 /* font id */) |
| 1665 | 1666 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1697 // Since the browser keeps handles to the allocated transport DIBs, this | 1698 // Since the browser keeps handles to the allocated transport DIBs, this |
| 1698 // message is sent to tell the browser that it may release them when the | 1699 // message is sent to tell the browser that it may release them when the |
| 1699 // renderer is finished with them. | 1700 // renderer is finished with them. |
| 1700 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1701 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 1701 TransportDIB::Id /* DIB id */) | 1702 TransportDIB::Id /* DIB id */) |
| 1702 #endif | 1703 #endif |
| 1703 | 1704 |
| 1704 // Adding a new message? Stick to the sort order above: first platform | 1705 // Adding a new message? Stick to the sort order above: first platform |
| 1705 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1706 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1706 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1707 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |