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

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: handles render crash and navigation Created 4 years, 10 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult, 236 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult,
237 int /* request_id */, 237 int /* request_id */,
238 float /* x */, 238 float /* x */,
239 float /* y */) 239 float /* y */)
240 240
241 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary. 241 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary.
242 // NOTE: ImeEventAck and other Ime* messages should be of the same type, 242 // NOTE: ImeEventAck and other Ime* messages should be of the same type,
243 // otherwise a race condition can happen. 243 // otherwise a race condition can happen.
244 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck) 244 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck)
245 245
246 // Request from browser to update text input state.
247 IPC_MESSAGE_ROUTED0(InputMsg_RequestTextInputStateUpdate)
246 #endif 248 #endif
247 249
248 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) 250 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted)
249 251
250 // ----------------------------------------------------------------------------- 252 // -----------------------------------------------------------------------------
251 // Messages sent from the renderer to the browser. 253 // Messages sent from the renderer to the browser.
252 254
253 // Acknowledges receipt of a InputMsg_HandleInputEvent message. 255 // Acknowledges receipt of a InputMsg_HandleInputEvent message.
254 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, 256 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK,
255 content::InputEventAck /* ack */) 257 content::InputEventAck /* ack */)
(...skipping 28 matching lines...) Expand all
284 // This IPC message sends the character bounds after every composition change 286 // This IPC message sends the character bounds after every composition change
285 // to always have correct bound info. 287 // to always have correct bound info.
286 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 288 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
287 gfx::Range /* composition range */, 289 gfx::Range /* composition range */,
288 std::vector<gfx::Rect> /* character bounds */) 290 std::vector<gfx::Rect> /* character bounds */)
289 291
290 // Adding a new message? Stick to the sort order above: first platform 292 // Adding a new message? Stick to the sort order above: first platform
291 // independent InputMsg, then ifdefs for platform specific InputMsg, then 293 // independent InputMsg, then ifdefs for platform specific InputMsg, then
292 // platform independent InputHostMsg, then ifdefs for platform specific 294 // platform independent InputHostMsg, then ifdefs for platform specific
293 // InputHostMsg. 295 // InputHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698