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

Unified Diff: content/renderer/render_view_impl.cc

Issue 12088095: Adding didCancelCompositionOnSelectionChange callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 6ffcfa21d1db5b07671ee61db20145ecf9764258..96f7cba0c300996725a8a43a4f0d431686951f18 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2089,6 +2089,10 @@ bool RenderViewImpl::isSelectTrailingWhitespaceEnabled() {
#endif
}
+void RenderViewImpl::didCancelCompositionOnSelectionChange() {
+ Send(new ViewHostMsg_ImeCancelComposition(routing_id()));
+}
+
void RenderViewImpl::didChangeSelection(bool is_empty_selection) {
if (!handling_input_event_ && !handling_select_range_)
return;
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698