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

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

Issue 2734943005: Remove moveCursorToSelectionEnd() (Closed)
Patch Set: RESTRICTION_TYPE_PHONE Created 3 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 // Replaces the selected region or a word around the cursor with the 251 // Replaces the selected region or a word around the cursor with the
252 // specified string. 252 // specified string.
253 IPC_MESSAGE_ROUTED1(InputMsg_Replace, 253 IPC_MESSAGE_ROUTED1(InputMsg_Replace,
254 base::string16) 254 base::string16)
255 // Replaces the misspelling in the selected region with the specified string. 255 // Replaces the misspelling in the selected region with the specified string.
256 IPC_MESSAGE_ROUTED1(InputMsg_ReplaceMisspelling, 256 IPC_MESSAGE_ROUTED1(InputMsg_ReplaceMisspelling,
257 base::string16) 257 base::string16)
258 IPC_MESSAGE_ROUTED0(InputMsg_Delete) 258 IPC_MESSAGE_ROUTED0(InputMsg_Delete)
259 IPC_MESSAGE_ROUTED0(InputMsg_SelectAll) 259 IPC_MESSAGE_ROUTED0(InputMsg_SelectAll)
260 260
261 IPC_MESSAGE_ROUTED0(InputMsg_Unselect) 261 IPC_MESSAGE_ROUTED0(InputMsg_CollapseSelection)
262 262
263 // Requests the renderer to select the region between two points. 263 // Requests the renderer to select the region between two points.
264 // Expects a SelectRange_ACK message when finished. 264 // Expects a SelectRange_ACK message when finished.
265 IPC_MESSAGE_ROUTED2(InputMsg_SelectRange, 265 IPC_MESSAGE_ROUTED2(InputMsg_SelectRange,
266 gfx::Point /* base */, 266 gfx::Point /* base */,
267 gfx::Point /* extent */) 267 gfx::Point /* extent */)
268 268
269 // Sent by the browser to ask the renderer to adjust the selection start and 269 // Sent by the browser to ask the renderer to adjust the selection start and
270 // end points by the given amounts. A negative amount moves the selection 270 // end points by the given amounts. A negative amount moves the selection
271 // towards the beginning of the document, a positive amount moves the selection 271 // towards the beginning of the document, a positive amount moves the selection
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 // This IPC message sends the character bounds after every composition change 333 // This IPC message sends the character bounds after every composition change
334 // to always have correct bound info. 334 // to always have correct bound info.
335 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 335 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
336 gfx::Range /* composition range */, 336 gfx::Range /* composition range */,
337 std::vector<gfx::Rect> /* character bounds */) 337 std::vector<gfx::Rect> /* character bounds */)
338 338
339 // Adding a new message? Stick to the sort order above: first platform 339 // Adding a new message? Stick to the sort order above: first platform
340 // independent InputMsg, then ifdefs for platform specific InputMsg, then 340 // independent InputMsg, then ifdefs for platform specific InputMsg, then
341 // platform independent InputHostMsg, then ifdefs for platform specific 341 // platform independent InputHostMsg, then ifdefs for platform specific
342 // InputHostMsg. 342 // InputHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698