OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Multiply-included message file, so no include guard. | 5 // Multiply-included message file, so no include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 // This message is used when the object list contains a bitmap. | 24 // This message is used when the object list contains a bitmap. |
25 // It is synchronized so that the renderer knows when it is safe to | 25 // It is synchronized so that the renderer knows when it is safe to |
26 // free the shared memory used to transfer the bitmap. | 26 // free the shared memory used to transfer the bitmap. |
27 IPC_SYNC_MESSAGE_CONTROL2_0(ClipboardHostMsg_WriteObjectsSync, | 27 IPC_SYNC_MESSAGE_CONTROL2_0(ClipboardHostMsg_WriteObjectsSync, |
28 ui::Clipboard::ObjectMap /* objects */, | 28 ui::Clipboard::ObjectMap /* objects */, |
29 base::SharedMemoryHandle /* bitmap handle */) | 29 base::SharedMemoryHandle /* bitmap handle */) |
30 IPC_SYNC_MESSAGE_CONTROL2_1(ClipboardHostMsg_IsFormatAvailable, | 30 IPC_SYNC_MESSAGE_CONTROL2_1(ClipboardHostMsg_IsFormatAvailable, |
31 std::string /* format */, | 31 std::string /* format */, |
32 ui::Clipboard::Buffer /* buffer */, | 32 ui::Clipboard::Buffer /* buffer */, |
33 bool /* result */) | 33 bool /* result */) |
| 34 IPC_SYNC_MESSAGE_CONTROL1_2(ClipboardHostMsg_ReadAvailableTypes, |
| 35 ui::Clipboard::Buffer /* buffer */, |
| 36 std::vector<string16> /* types */, |
| 37 bool /* contains filenames */) |
34 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadText, | 38 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadText, |
35 ui::Clipboard::Buffer /* buffer */, | 39 ui::Clipboard::Buffer /* buffer */, |
36 string16 /* result */) | 40 string16 /* result */) |
37 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadAsciiText, | 41 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadAsciiText, |
38 ui::Clipboard::Buffer /* buffer */, | 42 ui::Clipboard::Buffer /* buffer */, |
39 std::string /* result */) | 43 std::string /* result */) |
40 IPC_SYNC_MESSAGE_CONTROL1_2(ClipboardHostMsg_ReadHTML, | 44 IPC_SYNC_MESSAGE_CONTROL1_2(ClipboardHostMsg_ReadHTML, |
41 ui::Clipboard::Buffer /* buffer */, | 45 ui::Clipboard::Buffer /* buffer */, |
42 string16 /* markup */, | 46 string16 /* markup */, |
43 GURL /* url */) | 47 GURL /* url */) |
44 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadImage, | 48 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadImage, |
45 ui::Clipboard::Buffer /* buffer */, | 49 ui::Clipboard::Buffer /* buffer */, |
46 std::string /* PNG-encoded image */) | 50 std::string /* PNG-encoded image */) |
47 #if defined(OS_MACOSX) | 51 #if defined(OS_MACOSX) |
48 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_FindPboardWriteStringAsync, | 52 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_FindPboardWriteStringAsync, |
49 string16 /* text */) | 53 string16 /* text */) |
50 #endif | 54 #endif |
51 IPC_SYNC_MESSAGE_CONTROL1_3(ClipboardHostMsg_ReadAvailableTypes, | |
52 ui::Clipboard::Buffer /* buffer */, | |
53 bool /* result */, | |
54 std::vector<string16> /* types */, | |
55 bool /* contains filenames */) | |
56 IPC_SYNC_MESSAGE_CONTROL2_3(ClipboardHostMsg_ReadData, | 55 IPC_SYNC_MESSAGE_CONTROL2_3(ClipboardHostMsg_ReadData, |
57 ui::Clipboard::Buffer /* buffer */, | 56 ui::Clipboard::Buffer /* buffer */, |
58 string16 /* type */, | 57 string16 /* type */, |
59 bool /* succeeded */, | 58 bool /* succeeded */, |
60 string16 /* data */, | 59 string16 /* data */, |
61 string16 /* metadata */) | 60 string16 /* metadata */) |
62 IPC_SYNC_MESSAGE_CONTROL1_2(ClipboardHostMsg_ReadFilenames, | 61 IPC_SYNC_MESSAGE_CONTROL1_2(ClipboardHostMsg_ReadFilenames, |
63 ui::Clipboard::Buffer /* buffer */, | 62 ui::Clipboard::Buffer /* buffer */, |
64 bool /* result */, | 63 bool /* result */, |
65 std::vector<string16> /* filenames */) | 64 std::vector<string16> /* filenames */) |
OLD | NEW |