Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: content/common/input_messages.h

Issue 2465173004: Revert "Allow selection change update before beginBatchEdit" on M55 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 gfx::Point /* location */) 251 gfx::Point /* location */)
252 252
253 #if defined(OS_ANDROID) 253 #if defined(OS_ANDROID)
254 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary. 254 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary.
255 // NOTE: ImeEventAck and other Ime* messages should be of the same type, 255 // NOTE: ImeEventAck and other Ime* messages should be of the same type,
256 // otherwise a race condition can happen. 256 // otherwise a race condition can happen.
257 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck) 257 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck)
258 258
259 // Request from browser to update text input state. 259 // Request from browser to update text input state.
260 IPC_MESSAGE_ROUTED0(InputMsg_RequestTextInputStateUpdate) 260 IPC_MESSAGE_ROUTED0(InputMsg_RequestTextInputStateUpdate)
261
262 IPC_MESSAGE_ROUTED1(InputMsg_ImeBatchEdit,
263 bool /* begin */)
264 #endif 261 #endif
265 262
266 // Request from browser to update the cursor and composition information. 263 // Request from browser to update the cursor and composition information.
267 IPC_MESSAGE_ROUTED2(InputMsg_RequestCompositionUpdate, 264 IPC_MESSAGE_ROUTED2(InputMsg_RequestCompositionUpdate,
268 bool /* immediate request */, 265 bool /* immediate request */,
269 bool /* monitor request */) 266 bool /* monitor request */)
270 267
271 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) 268 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted)
272 269
273 // ----------------------------------------------------------------------------- 270 // -----------------------------------------------------------------------------
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 // This IPC message sends the character bounds after every composition change 304 // This IPC message sends the character bounds after every composition change
308 // to always have correct bound info. 305 // to always have correct bound info.
309 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 306 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
310 gfx::Range /* composition range */, 307 gfx::Range /* composition range */,
311 std::vector<gfx::Rect> /* character bounds */) 308 std::vector<gfx::Rect> /* character bounds */)
312 309
313 // Adding a new message? Stick to the sort order above: first platform 310 // Adding a new message? Stick to the sort order above: first platform
314 // independent InputMsg, then ifdefs for platform specific InputMsg, then 311 // independent InputMsg, then ifdefs for platform specific InputMsg, then
315 // platform independent InputHostMsg, then ifdefs for platform specific 312 // platform independent InputHostMsg, then ifdefs for platform specific
316 // InputHostMsg. 313 // InputHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/common/text_input_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698