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

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

Issue 10911012: Upstream Android IME support (ImeAdapter). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nits fixed; recent downstream changes applied; ime adapter added to browser_jni_registrar Created 8 years, 3 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 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) 1004 IPC_MESSAGE_ROUTED0(ViewMsg_Paste)
1005 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) 1005 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle)
1006 // Replaces the selected region or a word around the cursor with the 1006 // Replaces the selected region or a word around the cursor with the
1007 // specified string. 1007 // specified string.
1008 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, 1008 IPC_MESSAGE_ROUTED1(ViewMsg_Replace,
1009 string16) 1009 string16)
1010 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) 1010 IPC_MESSAGE_ROUTED0(ViewMsg_Delete)
1011 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) 1011 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll)
1012 1012
1013 // Replaces all text in the current input field with the specified string. 1013 // Replaces all text in the current input field with the specified string.
1014 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceAll,
1015 string16 /* text */)
1014 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) 1016 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect)
1015 1017
1016 // Requests the renderer to select the region between two points. 1018 // Requests the renderer to select the region between two points.
1017 // Expects a SelectRange_ACK message when finished. 1019 // Expects a SelectRange_ACK message when finished.
1018 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, 1020 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange,
1019 gfx::Point /* start */, 1021 gfx::Point /* start */,
1020 gfx::Point /* end */) 1022 gfx::Point /* end */)
1021 1023
1022 // Copies the image at location x, y to the clipboard (if there indeed is an 1024 // Copies the image at location x, y to the clipboard (if there indeed is an
1023 // image at that location). 1025 // image at that location).
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 string16, /* text */ 1169 string16, /* text */
1168 std::vector<WebKit::WebCompositionUnderline>, /* underlines */ 1170 std::vector<WebKit::WebCompositionUnderline>, /* underlines */
1169 int, /* selectiont_start */ 1171 int, /* selectiont_start */
1170 int /* selection_end */) 1172 int /* selection_end */)
1171 1173
1172 // This message confirms an ongoing composition. 1174 // This message confirms an ongoing composition.
1173 IPC_MESSAGE_ROUTED2(ViewMsg_ImeConfirmComposition, 1175 IPC_MESSAGE_ROUTED2(ViewMsg_ImeConfirmComposition,
1174 string16 /* text */, 1176 string16 /* text */,
1175 ui::Range /* replacement_range */) 1177 ui::Range /* replacement_range */)
1176 1178
1179 // Sets the text composition to be between the given start and end offsets
1180 // in the currently focused editable field.
1181 IPC_MESSAGE_ROUTED3(ViewMsg_SetCompositionFromExistingText,
1182 int /* start */,
1183 int /* end */,
1184 std::vector<WebKit::WebCompositionUnderline> /* underlines */)
1185
1186 // Selects between the given start and end offsets in the currently focused
1187 // editable field.
1188 IPC_MESSAGE_ROUTED2(ViewMsg_SetEditableSelectionOffsets,
1189 int /* start */,
1190 int /* end */)
1191
1192 // Deletes the current selection plus the specified number of characters before
1193 // and after the selection or caret.
1194 IPC_MESSAGE_ROUTED2(ViewMsg_ExtendSelectionAndDelete,
1195 int /* before */,
1196 int /* after */)
1197
1177 // Used to notify the render-view that we have received a target URL. Used 1198 // Used to notify the render-view that we have received a target URL. Used
1178 // to prevent target URLs spamming the browser. 1199 // to prevent target URLs spamming the browser.
1179 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK) 1200 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK)
1180 1201
1181 1202
1182 // Sets the alternate error page URL (link doctor) for the renderer process. 1203 // Sets the alternate error page URL (link doctor) for the renderer process.
1183 IPC_MESSAGE_ROUTED1(ViewMsg_SetAltErrorPageURL, 1204 IPC_MESSAGE_ROUTED1(ViewMsg_SetAltErrorPageURL,
1184 GURL) 1205 GURL)
1185 1206
1186 // Notifies the color chooser client that the user selected a color. 1207 // Notifies the color chooser client that the user selected a color.
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 // * id - (integer) the frame identifier in this RenderView 2294 // * id - (integer) the frame identifier in this RenderView
2274 // * name - (string) the name of the frame, if one has been assigned 2295 // * name - (string) the name of the frame, if one has been assigned
2275 // * subtree - an array of the same type of objects for each frame that is a 2296 // * subtree - an array of the same type of objects for each frame that is a
2276 // direct child of the current frame. This property can be omitted if 2297 // direct child of the current frame. This property can be omitted if
2277 // there are no direct child frames, so less data is transferred. 2298 // there are no direct child frames, so less data is transferred.
2278 // 2299 //
2279 // This message must be sent on any events that modify the tree structure or 2300 // This message must be sent on any events that modify the tree structure or
2280 // the names of any frames. 2301 // the names of any frames.
2281 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameTreeUpdated, 2302 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameTreeUpdated,
2282 std::string /* json encoded frame tree */) 2303 std::string /* json encoded frame tree */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698