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 "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 int /* end */, | 129 int /* end */, |
130 std::vector<blink::WebCompositionUnderline> /* underlines */) | 130 std::vector<blink::WebCompositionUnderline> /* underlines */) |
131 | 131 |
132 // Deletes the current selection plus the specified number of characters before | 132 // Deletes the current selection plus the specified number of characters before |
133 // and after the selection or caret. | 133 // and after the selection or caret. |
134 IPC_MESSAGE_ROUTED2(InputMsg_ExtendSelectionAndDelete, | 134 IPC_MESSAGE_ROUTED2(InputMsg_ExtendSelectionAndDelete, |
135 int /* before */, | 135 int /* before */, |
136 int /* after */) | 136 int /* after */) |
137 | 137 |
138 // This message sends a string being composed with an input method. | 138 // This message sends a string being composed with an input method. |
139 IPC_MESSAGE_ROUTED4( | 139 IPC_MESSAGE_ROUTED5( |
140 InputMsg_ImeSetComposition, | 140 InputMsg_ImeSetComposition, |
141 base::string16, /* text */ | 141 base::string16, /* text */ |
142 std::vector<blink::WebCompositionUnderline>, /* underlines */ | 142 std::vector<blink::WebCompositionUnderline>, /* underlines */ |
| 143 gfx::Range /* replacement_range */, |
143 int, /* selectiont_start */ | 144 int, /* selectiont_start */ |
144 int /* selection_end */) | 145 int /* selection_end */) |
145 | 146 |
146 // This message confirms an ongoing composition. | 147 // This message confirms an ongoing composition. |
147 IPC_MESSAGE_ROUTED3(InputMsg_ImeConfirmComposition, | 148 IPC_MESSAGE_ROUTED3(InputMsg_ImeConfirmComposition, |
148 base::string16 /* text */, | 149 base::string16 /* text */, |
149 gfx::Range /* replacement_range */, | 150 gfx::Range /* replacement_range */, |
150 bool /* keep_selection */) | 151 bool /* keep_selection */) |
151 | 152 |
152 // This message notifies the renderer that the next key event is bound to one | 153 // This message notifies the renderer that the next key event is bound to one |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 // This IPC message sends the character bounds after every composition change | 284 // This IPC message sends the character bounds after every composition change |
284 // to always have correct bound info. | 285 // to always have correct bound info. |
285 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 286 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
286 gfx::Range /* composition range */, | 287 gfx::Range /* composition range */, |
287 std::vector<gfx::Rect> /* character bounds */) | 288 std::vector<gfx::Rect> /* character bounds */) |
288 | 289 |
289 // Adding a new message? Stick to the sort order above: first platform | 290 // Adding a new message? Stick to the sort order above: first platform |
290 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 291 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
291 // platform independent InputHostMsg, then ifdefs for platform specific | 292 // platform independent InputHostMsg, then ifdefs for platform specific |
292 // InputHostMsg. | 293 // InputHostMsg. |
OLD | NEW |