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 // 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 "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 ui::ClipboardType /* type */, | 49 ui::ClipboardType /* type */, |
50 uint64 /* result */) | 50 uint64 /* result */) |
51 IPC_SYNC_MESSAGE_CONTROL2_1(ClipboardHostMsg_IsFormatAvailable, | 51 IPC_SYNC_MESSAGE_CONTROL2_1(ClipboardHostMsg_IsFormatAvailable, |
52 ui::Clipboard::FormatType /* format */, | 52 ui::Clipboard::FormatType /* format */, |
53 ui::ClipboardType /* type */, | 53 ui::ClipboardType /* type */, |
54 bool /* result */) | 54 bool /* result */) |
55 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_Clear, | 55 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_Clear, |
56 ui::ClipboardType /* type */) | 56 ui::ClipboardType /* type */) |
57 IPC_SYNC_MESSAGE_CONTROL1_2(ClipboardHostMsg_ReadAvailableTypes, | 57 IPC_SYNC_MESSAGE_CONTROL1_2(ClipboardHostMsg_ReadAvailableTypes, |
58 ui::ClipboardType /* type */, | 58 ui::ClipboardType /* type */, |
59 std::vector<string16> /* types */, | 59 std::vector<base::string16> /* types */, |
60 bool /* contains filenames */) | 60 bool /* contains filenames */) |
61 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadText, | 61 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadText, |
62 ui::ClipboardType /* type */, | 62 ui::ClipboardType /* type */, |
63 string16 /* result */) | 63 base::string16 /* result */) |
64 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadAsciiText, | 64 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadAsciiText, |
65 ui::ClipboardType /* type */, | 65 ui::ClipboardType /* type */, |
66 std::string /* result */) | 66 std::string /* result */) |
67 IPC_SYNC_MESSAGE_CONTROL1_4(ClipboardHostMsg_ReadHTML, | 67 IPC_SYNC_MESSAGE_CONTROL1_4(ClipboardHostMsg_ReadHTML, |
68 ui::ClipboardType /* type */, | 68 ui::ClipboardType /* type */, |
69 string16 /* markup */, | 69 base::string16 /* markup */, |
70 GURL /* url */, | 70 GURL /* url */, |
71 uint32 /* fragment start */, | 71 uint32 /* fragment start */, |
72 uint32 /* fragment end */) | 72 uint32 /* fragment end */) |
73 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadRTF, | 73 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadRTF, |
74 ui::ClipboardType /* type */, | 74 ui::ClipboardType /* type */, |
75 std::string /* result */) | 75 std::string /* result */) |
76 IPC_SYNC_MESSAGE_CONTROL1_2(ClipboardHostMsg_ReadImage, | 76 IPC_SYNC_MESSAGE_CONTROL1_2(ClipboardHostMsg_ReadImage, |
77 ui::ClipboardType /* type */, | 77 ui::ClipboardType /* type */, |
78 base::SharedMemoryHandle /* PNG-encoded image */, | 78 base::SharedMemoryHandle /* PNG-encoded image */, |
79 uint32 /* image size */) | 79 uint32 /* image size */) |
80 IPC_SYNC_MESSAGE_CONTROL2_1(ClipboardHostMsg_ReadCustomData, | 80 IPC_SYNC_MESSAGE_CONTROL2_1(ClipboardHostMsg_ReadCustomData, |
81 ui::ClipboardType /* type */, | 81 ui::ClipboardType /* type */, |
82 string16 /* type */, | 82 base::string16 /* type */, |
83 string16 /* result */) | 83 base::string16 /* result */) |
84 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadData, | 84 IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadData, |
85 ui::Clipboard::FormatType /* format */, | 85 ui::Clipboard::FormatType /* format */, |
86 std::string /* result */) | 86 std::string /* result */) |
87 | 87 |
88 #if defined(OS_MACOSX) | 88 #if defined(OS_MACOSX) |
89 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_FindPboardWriteStringAsync, | 89 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_FindPboardWriteStringAsync, |
90 string16 /* text */) | 90 base::string16 /* text */) |
91 #endif | 91 #endif |
OLD | NEW |