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

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

Issue 1278593004: Introduce ThreadedInputConnection behind a switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed ImeTest#testDoesNotHang_rendererCrashes which does not test anything Created 4 years, 9 months 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult, 240 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult,
241 int /* request_id */, 241 int /* request_id */,
242 float /* x */, 242 float /* x */,
243 float /* y */) 243 float /* y */)
244 244
245 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary. 245 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary.
246 // NOTE: ImeEventAck and other Ime* messages should be of the same type, 246 // NOTE: ImeEventAck and other Ime* messages should be of the same type,
247 // otherwise a race condition can happen. 247 // otherwise a race condition can happen.
248 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck) 248 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck)
249 249
250 // Request from browser to update text input state.
251 IPC_MESSAGE_ROUTED0(InputMsg_RequestTextInputStateUpdate)
250 #endif 252 #endif
251 253
252 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) 254 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted)
253 255
254 // ----------------------------------------------------------------------------- 256 // -----------------------------------------------------------------------------
255 // Messages sent from the renderer to the browser. 257 // Messages sent from the renderer to the browser.
256 258
257 // Acknowledges receipt of a InputMsg_HandleInputEvent message. 259 // Acknowledges receipt of a InputMsg_HandleInputEvent message.
258 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, 260 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK,
259 content::InputEventAck /* ack */) 261 content::InputEventAck /* ack */)
(...skipping 28 matching lines...) Expand all
288 // This IPC message sends the character bounds after every composition change 290 // This IPC message sends the character bounds after every composition change
289 // to always have correct bound info. 291 // to always have correct bound info.
290 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 292 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
291 gfx::Range /* composition range */, 293 gfx::Range /* composition range */,
292 std::vector<gfx::Rect> /* character bounds */) 294 std::vector<gfx::Rect> /* character bounds */)
293 295
294 // Adding a new message? Stick to the sort order above: first platform 296 // Adding a new message? Stick to the sort order above: first platform
295 // independent InputMsg, then ifdefs for platform specific InputMsg, then 297 // independent InputMsg, then ifdefs for platform specific InputMsg, then
296 // platform independent InputHostMsg, then ifdefs for platform specific 298 // platform independent InputHostMsg, then ifdefs for platform specific
297 // InputHostMsg. 299 // InputHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698