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

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

Issue 10836053: Add IPCs/methods for additional IME actions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: now calling WebKit implementations of setCompositionFromExistingText and ExtendSelectionAndDelete; … Created 8 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) 970 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard)
971 #endif 971 #endif
972 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) 972 IPC_MESSAGE_ROUTED0(ViewMsg_Paste)
973 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) 973 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle)
974 // Replaces the selected region or a word around the cursor with the 974 // Replaces the selected region or a word around the cursor with the
975 // specified string. 975 // specified string.
976 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, 976 IPC_MESSAGE_ROUTED1(ViewMsg_Replace,
977 string16) 977 string16)
978 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) 978 IPC_MESSAGE_ROUTED0(ViewMsg_Delete)
979 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) 979 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll)
980 // Replaces all text in the current input field with the specified string.
981 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceAll,
982 string16 /* text */)
983 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect)
980 984
981 // Replaces all text in the current input field with the specified string. 985 // Selects between the given start and end offsets in the currently focused
982 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) 986 // editable field.
987 IPC_MESSAGE_ROUTED2(ViewMsg_SetEditableSelectionOffsets,
988 int /* start */,
989 int /* end */)
990
991 // Sets the text composition to be between the given start and end offsets
992 // in the currently focused editable field.
993 IPC_MESSAGE_ROUTED3(ViewMsg_SetCompositionFromExistingText,
994 int /* start */,
995 int /* end */,
996 std::vector<WebKit::WebCompositionUnderline> /* underlines */)
997
998 // Deletes the current selection plus the specified number of characters before
999 // and after the selection or caret.
1000 IPC_MESSAGE_ROUTED2(ViewMsg_ExtendSelectionAndDelete,
1001 int /* before */,
1002 int /* after */)
983 1003
984 // Requests the renderer to select the region between two points. 1004 // Requests the renderer to select the region between two points.
985 // Expects a SelectRange_ACK message when finished. 1005 // Expects a SelectRange_ACK message when finished.
986 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, 1006 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange,
987 gfx::Point /* start */, 1007 gfx::Point /* start */,
988 gfx::Point /* end */) 1008 gfx::Point /* end */)
989 1009
990 // Copies the image at location x, y to the clipboard (if there indeed is an 1010 // Copies the image at location x, y to the clipboard (if there indeed is an
991 // image at that location). 1011 // image at that location).
992 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, 1012 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt,
(...skipping 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after
2185 // (according to the value of is_hung). The browser can give the user the 2205 // (according to the value of is_hung). The browser can give the user the
2186 // option of killing the plugin. 2206 // option of killing the plugin.
2187 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2207 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2188 int /* plugin_child_id */, 2208 int /* plugin_child_id */,
2189 FilePath /* path */, 2209 FilePath /* path */,
2190 bool /* is_hung */) 2210 bool /* is_hung */)
2191 2211
2192 // Screen was rotated. Dispatched to the onorientationchange javascript API. 2212 // Screen was rotated. Dispatched to the onorientationchange javascript API.
2193 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, 2213 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent,
2194 int /* orientation */) 2214 int /* orientation */)
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_browsertest.cc » ('j') | content/renderer/render_view_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698