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

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

Issue 1959183002: Multi-Process Find-in-Page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled tests on Android Release because of crbug.com/615291. Created 4 years, 6 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Expects a MoveRangeSelectionExtent_ACK message when finished. 240 // Expects a MoveRangeSelectionExtent_ACK message when finished.
241 IPC_MESSAGE_ROUTED1(InputMsg_MoveRangeSelectionExtent, 241 IPC_MESSAGE_ROUTED1(InputMsg_MoveRangeSelectionExtent,
242 gfx::Point /* extent */) 242 gfx::Point /* extent */)
243 243
244 // Requests the renderer to move the caret selection toward the point. 244 // Requests the renderer to move the caret selection toward the point.
245 // Expects a MoveCaret_ACK message when finished. 245 // Expects a MoveCaret_ACK message when finished.
246 IPC_MESSAGE_ROUTED1(InputMsg_MoveCaret, 246 IPC_MESSAGE_ROUTED1(InputMsg_MoveCaret,
247 gfx::Point /* location */) 247 gfx::Point /* location */)
248 248
249 #if defined(OS_ANDROID) 249 #if defined(OS_ANDROID)
250 // Sent when the user clicks on the find result bar to activate a find result.
251 // The point (x,y) is in fractions of the content document's width and height.
252 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult,
253 int /* request_id */,
254 float /* x */,
255 float /* y */)
256
257 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary. 250 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary.
258 // NOTE: ImeEventAck and other Ime* messages should be of the same type, 251 // NOTE: ImeEventAck and other Ime* messages should be of the same type,
259 // otherwise a race condition can happen. 252 // otherwise a race condition can happen.
260 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck) 253 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck)
261 254
262 // Request from browser to update text input state. 255 // Request from browser to update text input state.
263 IPC_MESSAGE_ROUTED0(InputMsg_RequestTextInputStateUpdate) 256 IPC_MESSAGE_ROUTED0(InputMsg_RequestTextInputStateUpdate)
264 #endif 257 #endif
265 258
266 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) 259 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted)
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 // This IPC message sends the character bounds after every composition change 295 // This IPC message sends the character bounds after every composition change
303 // to always have correct bound info. 296 // to always have correct bound info.
304 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 297 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
305 gfx::Range /* composition range */, 298 gfx::Range /* composition range */,
306 std::vector<gfx::Rect> /* character bounds */) 299 std::vector<gfx::Rect> /* character bounds */)
307 300
308 // Adding a new message? Stick to the sort order above: first platform 301 // Adding a new message? Stick to the sort order above: first platform
309 // independent InputMsg, then ifdefs for platform specific InputMsg, then 302 // independent InputMsg, then ifdefs for platform specific InputMsg, then
310 // platform independent InputHostMsg, then ifdefs for platform specific 303 // platform independent InputHostMsg, then ifdefs for platform specific
311 // InputHostMsg. 304 // InputHostMsg.
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698