OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 input events and other messages that require processing in | 5 // IPC messages for input events and other messages that require processing in |
6 // order relative to input events. | 6 // order relative to input events. |
7 // Multiply-included message file, hence no include guard. | 7 // Multiply-included message file, hence no include guard. |
8 | 8 |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 IPC_MESSAGE_ROUTED0(InputMsg_Cut) | 124 IPC_MESSAGE_ROUTED0(InputMsg_Cut) |
125 IPC_MESSAGE_ROUTED0(InputMsg_Copy) | 125 IPC_MESSAGE_ROUTED0(InputMsg_Copy) |
126 #if defined(OS_MACOSX) | 126 #if defined(OS_MACOSX) |
127 IPC_MESSAGE_ROUTED0(InputMsg_CopyToFindPboard) | 127 IPC_MESSAGE_ROUTED0(InputMsg_CopyToFindPboard) |
128 #endif | 128 #endif |
129 IPC_MESSAGE_ROUTED0(InputMsg_Paste) | 129 IPC_MESSAGE_ROUTED0(InputMsg_Paste) |
130 IPC_MESSAGE_ROUTED0(InputMsg_PasteAndMatchStyle) | 130 IPC_MESSAGE_ROUTED0(InputMsg_PasteAndMatchStyle) |
131 // Replaces the selected region or a word around the cursor with the | 131 // Replaces the selected region or a word around the cursor with the |
132 // specified string. | 132 // specified string. |
133 IPC_MESSAGE_ROUTED1(InputMsg_Replace, | 133 IPC_MESSAGE_ROUTED1(InputMsg_Replace, |
134 string16) | 134 base::string16) |
135 // Replaces the misspelling in the selected region with the specified string. | 135 // Replaces the misspelling in the selected region with the specified string. |
136 IPC_MESSAGE_ROUTED1(InputMsg_ReplaceMisspelling, | 136 IPC_MESSAGE_ROUTED1(InputMsg_ReplaceMisspelling, |
137 string16) | 137 base::string16) |
138 IPC_MESSAGE_ROUTED0(InputMsg_Delete) | 138 IPC_MESSAGE_ROUTED0(InputMsg_Delete) |
139 IPC_MESSAGE_ROUTED0(InputMsg_SelectAll) | 139 IPC_MESSAGE_ROUTED0(InputMsg_SelectAll) |
140 | 140 |
141 IPC_MESSAGE_ROUTED0(InputMsg_Unselect) | 141 IPC_MESSAGE_ROUTED0(InputMsg_Unselect) |
142 | 142 |
143 // Requests the renderer to select the region between two points. | 143 // Requests the renderer to select the region between two points. |
144 // Expects a SelectRange_ACK message when finished. | 144 // Expects a SelectRange_ACK message when finished. |
145 IPC_MESSAGE_ROUTED2(InputMsg_SelectRange, | 145 IPC_MESSAGE_ROUTED2(InputMsg_SelectRange, |
146 gfx::Point /* start */, | 146 gfx::Point /* start */, |
147 gfx::Point /* end */) | 147 gfx::Point /* end */) |
(...skipping 24 matching lines...) Expand all Loading... |
172 ui::LatencyInfo /* latency_info */) | 172 ui::LatencyInfo /* latency_info */) |
173 | 173 |
174 IPC_MESSAGE_ROUTED1(InputHostMsg_QueueSyntheticGesture, | 174 IPC_MESSAGE_ROUTED1(InputHostMsg_QueueSyntheticGesture, |
175 content::SyntheticGesturePacket) | 175 content::SyntheticGesturePacket) |
176 | 176 |
177 | 177 |
178 // Adding a new message? Stick to the sort order above: first platform | 178 // Adding a new message? Stick to the sort order above: first platform |
179 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 179 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
180 // platform independent InputHostMsg, then ifdefs for platform specific | 180 // platform independent InputHostMsg, then ifdefs for platform specific |
181 // InputHostMsg. | 181 // InputHostMsg. |
OLD | NEW |