| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // erased). If |clear_selection| is true, it will also clear the current | 186 // erased). If |clear_selection| is true, it will also clear the current |
| 187 // selection. | 187 // selection. |
| 188 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, bool /* clear_selection */) | 188 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, bool /* clear_selection */) |
| 189 | 189 |
| 190 // These messages are typically generated from context menus and request the | 190 // These messages are typically generated from context menus and request the |
| 191 // renderer to apply the specified operation to the current selection. | 191 // renderer to apply the specified operation to the current selection. |
| 192 IPC_MESSAGE_ROUTED0(ViewMsg_Undo) | 192 IPC_MESSAGE_ROUTED0(ViewMsg_Undo) |
| 193 IPC_MESSAGE_ROUTED0(ViewMsg_Redo) | 193 IPC_MESSAGE_ROUTED0(ViewMsg_Redo) |
| 194 IPC_MESSAGE_ROUTED0(ViewMsg_Cut) | 194 IPC_MESSAGE_ROUTED0(ViewMsg_Cut) |
| 195 IPC_MESSAGE_ROUTED0(ViewMsg_Copy) | 195 IPC_MESSAGE_ROUTED0(ViewMsg_Copy) |
| 196 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) |
| 196 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) | 197 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) |
| 197 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, std::wstring) | 198 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, std::wstring) |
| 198 IPC_MESSAGE_ROUTED0(ViewMsg_ToggleSpellCheck) | 199 IPC_MESSAGE_ROUTED0(ViewMsg_ToggleSpellCheck) |
| 199 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) | 200 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
| 200 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) | 201 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
| 201 IPC_MESSAGE_ROUTED1(ViewMsg_ToggleSpellPanel, bool) | 202 IPC_MESSAGE_ROUTED1(ViewMsg_ToggleSpellPanel, bool) |
| 202 | 203 |
| 203 // This message tells the renderer to advance to the next misspelling. It is | 204 // This message tells the renderer to advance to the next misspelling. It is |
| 204 // sent when the user clicks the "Find Next" button on the spelling panel. | 205 // sent when the user clicks the "Find Next" button on the spelling panel. |
| 205 IPC_MESSAGE_ROUTED0(ViewMsg_AdvanceToNextMisspelling) | 206 IPC_MESSAGE_ROUTED0(ViewMsg_AdvanceToNextMisspelling) |
| (...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1090 Clipboard::Buffer /* buffer */, | 1091 Clipboard::Buffer /* buffer */, |
| 1091 string16 /* result */) | 1092 string16 /* result */) |
| 1092 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_ClipboardReadAsciiText, | 1093 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_ClipboardReadAsciiText, |
| 1093 Clipboard::Buffer /* buffer */, | 1094 Clipboard::Buffer /* buffer */, |
| 1094 std::string /* result */) | 1095 std::string /* result */) |
| 1095 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ClipboardReadHTML, | 1096 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ClipboardReadHTML, |
| 1096 Clipboard::Buffer /* buffer */, | 1097 Clipboard::Buffer /* buffer */, |
| 1097 string16 /* markup */, | 1098 string16 /* markup */, |
| 1098 GURL /* url */) | 1099 GURL /* url */) |
| 1099 | 1100 |
| 1101 #if defined(OS_MACOSX) |
| 1102 IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardFindPboardWriteStringAsync, |
| 1103 string16 /* text */) |
| 1104 #endif |
| 1105 |
| 1100 #if defined(OS_WIN) | 1106 #if defined(OS_WIN) |
| 1101 // Request that the given font be loaded by the browser. | 1107 // Request that the given font be loaded by the browser. |
| 1102 // Please see ResourceMessageFilter::OnLoadFont for details. | 1108 // Please see ResourceMessageFilter::OnLoadFont for details. |
| 1103 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_LoadFont, | 1109 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_LoadFont, |
| 1104 LOGFONT /* font data */) | 1110 LOGFONT /* font data */) |
| 1105 #endif // defined(OS_WIN) | 1111 #endif // defined(OS_WIN) |
| 1106 | 1112 |
| 1107 // Returns WebScreenInfo corresponding to the view. | 1113 // Returns WebScreenInfo corresponding to the view. |
| 1108 // TODO(shess): Provide a mapping from reply_msg->routing_id() to | 1114 // TODO(shess): Provide a mapping from reply_msg->routing_id() to |
| 1109 // HWND so that we can eliminate the NativeViewId parameter. | 1115 // HWND so that we can eliminate the NativeViewId parameter. |
| (...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1739 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1745 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
| 1740 FilePath /* the name of the file */, | 1746 FilePath /* the name of the file */, |
| 1741 int32 /* a unique message ID */) | 1747 int32 /* a unique message ID */) |
| 1742 | 1748 |
| 1743 // Asks the browser process to return the size of a DB file | 1749 // Asks the browser process to return the size of a DB file |
| 1744 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1750 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
| 1745 FilePath /* the name of the file */, | 1751 FilePath /* the name of the file */, |
| 1746 int32 /* a unique message ID */) | 1752 int32 /* a unique message ID */) |
| 1747 | 1753 |
| 1748 IPC_END_MESSAGES(ViewHost) | 1754 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |