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

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

Issue 1080693002: Implementation of Smart GO NEXT feature in Android Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 177
178 // TODO(darin): figure out how this meshes with RestoreFocus 178 // TODO(darin): figure out how this meshes with RestoreFocus
179 IPC_MESSAGE_ROUTED1(InputMsg_SetFocus, 179 IPC_MESSAGE_ROUTED1(InputMsg_SetFocus,
180 bool /* enable */) 180 bool /* enable */)
181 181
182 // Tells the renderer to scroll the currently focused node into rect only if 182 // Tells the renderer to scroll the currently focused node into rect only if
183 // the currently focused node is a Text node (textfield, text area or content 183 // the currently focused node is a Text node (textfield, text area or content
184 // editable divs). 184 // editable divs).
185 IPC_MESSAGE_ROUTED1(InputMsg_ScrollFocusedEditableNodeIntoRect, gfx::Rect) 185 IPC_MESSAGE_ROUTED1(InputMsg_ScrollFocusedEditableNodeIntoRect, gfx::Rect)
186 186
187 // Tells the renderer to advance the focus to next input node in the form by
188 // moving in specified direction if the currently focused node is a Text node
189 // (textfield, text area or content editable nodes).
190 IPC_MESSAGE_ROUTED1(InputMsg_AdvanceFocusToNextInputField, bool /* direction */)
bcwhite 2015/04/13 16:51:34 "forward" instead of "direction" so we know which
AKV 2015/04/13 18:35:46 Done.
191
187 // These messages are typically generated from context menus and request the 192 // These messages are typically generated from context menus and request the
188 // renderer to apply the specified operation to the current selection. 193 // renderer to apply the specified operation to the current selection.
189 IPC_MESSAGE_ROUTED0(InputMsg_Undo) 194 IPC_MESSAGE_ROUTED0(InputMsg_Undo)
190 IPC_MESSAGE_ROUTED0(InputMsg_Redo) 195 IPC_MESSAGE_ROUTED0(InputMsg_Redo)
191 IPC_MESSAGE_ROUTED0(InputMsg_Cut) 196 IPC_MESSAGE_ROUTED0(InputMsg_Cut)
192 IPC_MESSAGE_ROUTED0(InputMsg_Copy) 197 IPC_MESSAGE_ROUTED0(InputMsg_Copy)
193 #if defined(OS_MACOSX) 198 #if defined(OS_MACOSX)
194 IPC_MESSAGE_ROUTED0(InputMsg_CopyToFindPboard) 199 IPC_MESSAGE_ROUTED0(InputMsg_CopyToFindPboard)
195 #endif 200 #endif
196 IPC_MESSAGE_ROUTED0(InputMsg_Paste) 201 IPC_MESSAGE_ROUTED0(InputMsg_Paste)
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // This IPC message sends the character bounds after every composition change 276 // This IPC message sends the character bounds after every composition change
272 // to always have correct bound info. 277 // to always have correct bound info.
273 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 278 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
274 gfx::Range /* composition range */, 279 gfx::Range /* composition range */,
275 std::vector<gfx::Rect> /* character bounds */) 280 std::vector<gfx::Rect> /* character bounds */)
276 281
277 // Adding a new message? Stick to the sort order above: first platform 282 // Adding a new message? Stick to the sort order above: first platform
278 // independent InputMsg, then ifdefs for platform specific InputMsg, then 283 // independent InputMsg, then ifdefs for platform specific InputMsg, then
279 // platform independent InputHostMsg, then ifdefs for platform specific 284 // platform independent InputHostMsg, then ifdefs for platform specific
280 // InputHostMsg. 285 // InputHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698