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

Side by Side Diff: content/common/browser_plugin/browser_plugin_messages.h

Issue 2568093003: Support parsing BackgroundSpans and UnderlineSpans in Android IME's commitText() (Closed)
Patch Set: Use addCompositionUnderlines() where I said I couldn't Created 3 years, 11 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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "cc/surfaces/surface.h" 10 #include "cc/surfaces/surface.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 IPC_MESSAGE_CONTROL5( 67 IPC_MESSAGE_CONTROL5(
68 BrowserPluginHostMsg_ImeSetComposition, 68 BrowserPluginHostMsg_ImeSetComposition,
69 int /* browser_plugin_instance_id */, 69 int /* browser_plugin_instance_id */,
70 std::string /* text */, 70 std::string /* text */,
71 std::vector<blink::WebCompositionUnderline> /* underlines */, 71 std::vector<blink::WebCompositionUnderline> /* underlines */,
72 int /* selectiont_start */, 72 int /* selectiont_start */,
73 int /* selection_end */) 73 int /* selection_end */)
74 74
75 // This message is sent from BrowserPlugin to BrowserPluginGuest to notify that 75 // This message is sent from BrowserPlugin to BrowserPluginGuest to notify that
76 // deleting the current composition and inserting specified text is requested. 76 // deleting the current composition and inserting specified text is requested.
77 IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ImeCommitText, 77 IPC_MESSAGE_CONTROL4(
78 int /* browser_plugin_instance_id */, 78 BrowserPluginHostMsg_ImeCommitText,
79 std::string /* text */, 79 int /* browser_plugin_instance_id */,
80 int /* relative_cursor_pos */) 80 std::string /* text */,
81 std::vector<blink::WebCompositionUnderline> /* underlines */,
82 int /* relative_cursor_pos */)
81 83
82 // This message is sent from BrowserPlugin to BrowserPluginGuest to notify that 84 // This message is sent from BrowserPlugin to BrowserPluginGuest to notify that
83 // inserting the current composition is requested. 85 // inserting the current composition is requested.
84 IPC_MESSAGE_CONTROL1(BrowserPluginHostMsg_ImeFinishComposingText, 86 IPC_MESSAGE_CONTROL1(BrowserPluginHostMsg_ImeFinishComposingText,
85 bool /* keep selection */) 87 bool /* keep selection */)
86 88
87 // Deletes the current selection plus the specified number of characters before 89 // Deletes the current selection plus the specified number of characters before
88 // and after the selection or caret. 90 // and after the selection or caret.
89 IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ExtendSelectionAndDelete, 91 IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ExtendSelectionAndDelete,
90 int /* browser_plugin_instance_id */, 92 int /* browser_plugin_instance_id */,
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 193
192 // Forwards a PointerLock Unlock request to the BrowserPlugin. 194 // Forwards a PointerLock Unlock request to the BrowserPlugin.
193 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, 195 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock,
194 int /* browser_plugin_instance_id */, 196 int /* browser_plugin_instance_id */,
195 bool /* enable */) 197 bool /* enable */)
196 198
197 // Sends text to be displayed in tooltip. 199 // Sends text to be displayed in tooltip.
198 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText, 200 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText,
199 int /* browser_plugin_instance_id */, 201 int /* browser_plugin_instance_id */,
200 base::string16 /* tooltip_text */) 202 base::string16 /* tooltip_text */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/common/input_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698