| 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 1643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1654 base::FileDescriptor /* pcm_output */, | 1654 base::FileDescriptor /* pcm_output */, |
| 1655 uint32_t /* data_size*/) | 1655 uint32_t /* data_size*/) |
| 1656 | 1656 |
| 1657 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 1657 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
| 1658 // display events. If |enabled| is true, the BeginFrame message will continue | 1658 // display events. If |enabled| is true, the BeginFrame message will continue |
| 1659 // to be be delivered until the notification is disabled. | 1659 // to be be delivered until the notification is disabled. |
| 1660 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, | 1660 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, |
| 1661 bool /* enabled */) | 1661 bool /* enabled */) |
| 1662 | 1662 |
| 1663 // Reply to the ViewMsg_ExtractSmartClipData message. | 1663 // Reply to the ViewMsg_ExtractSmartClipData message. |
| 1664 IPC_MESSAGE_ROUTED2(ViewHostMsg_SmartClipDataExtracted, | 1664 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, |
| 1665 base::string16 /* result */, | 1665 base::string16 /* text */, |
| 1666 base::string16 /* html */, |
| 1666 gfx::Rect /* rect */) | 1667 gfx::Rect /* rect */) |
| 1667 | 1668 |
| 1668 #elif defined(OS_MACOSX) | 1669 #elif defined(OS_MACOSX) |
| 1669 // Request that the browser load a font into shared memory for us. | 1670 // Request that the browser load a font into shared memory for us. |
| 1670 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, | 1671 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, |
| 1671 FontDescriptor /* font to load */, | 1672 FontDescriptor /* font to load */, |
| 1672 uint32 /* buffer size */, | 1673 uint32 /* buffer size */, |
| 1673 base::SharedMemoryHandle /* font data */, | 1674 base::SharedMemoryHandle /* font data */, |
| 1674 uint32 /* font id */) | 1675 uint32 /* font id */) |
| 1675 | 1676 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1716 // synchronously (see crbug.com/120597). This IPC message sends the character | 1717 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 1717 // bounds after every composition change to always have correct bound info. | 1718 // bounds after every composition change to always have correct bound info. |
| 1718 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1719 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 1719 gfx::Range /* composition range */, | 1720 gfx::Range /* composition range */, |
| 1720 std::vector<gfx::Rect> /* character bounds */) | 1721 std::vector<gfx::Rect> /* character bounds */) |
| 1721 #endif | 1722 #endif |
| 1722 | 1723 |
| 1723 // Adding a new message? Stick to the sort order above: first platform | 1724 // Adding a new message? Stick to the sort order above: first platform |
| 1724 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1725 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1725 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1726 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |