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

Unified Diff: content/renderer/webplugin_delegate_proxy.cc

Issue 12228005: Pass is_anchor_first with SelectionBounds_Params (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 10 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_widget.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/webplugin_delegate_proxy.cc
diff --git a/content/renderer/webplugin_delegate_proxy.cc b/content/renderer/webplugin_delegate_proxy.cc
index efca26a288bd3c73c652f4d2aca8fbc48fa2b738..a1ab7589045379eee44ba83d95bc707a4595aa5a 100644
--- a/content/renderer/webplugin_delegate_proxy.cc
+++ b/content/renderer/webplugin_delegate_proxy.cc
@@ -945,6 +945,7 @@ void WebPluginDelegateProxy::OnNotifyIMEStatus(int input_type,
bounds_params.anchor_rect = bounds_params.focus_rect = caret_rect;
bounds_params.anchor_dir = bounds_params.focus_dir =
WebKit::WebTextDirectionLeftToRight;
+ bounds_params.is_anchor_first = true;
render_view_->Send(new ViewHostMsg_SelectionBoundsChanged(
render_view_->routing_id(),
bounds_params));
« no previous file with comments | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698