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

Unified Diff: content/browser/renderer_host/render_widget_host.cc

Issue 7824037: Get surrounding text from webkit. This CL is for sharing code only. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host.cc
diff --git a/content/browser/renderer_host/render_widget_host.cc b/content/browser/renderer_host/render_widget_host.cc
index 2a506d01a060dd945aa44d0aa80b686822c0a3df..c9b85bcc5c6492c83a13ee182c1f2cd1e5694d8d 100644
--- a/content/browser/renderer_host/render_widget_host.cc
+++ b/content/browser/renderer_host/render_widget_host.cc
@@ -1077,11 +1077,14 @@ void RenderWidgetHost::OnMsgSetCursor(const WebCursor& cursor) {
}
void RenderWidgetHost::OnMsgImeUpdateTextInputState(
- ui::TextInputType type,
- bool can_compose_inline,
- const gfx::Rect& caret_rect) {
+ const ViewHostMsg_ImeUpdateTextInputState_Params& params) {
if (view_)
- view_->ImeUpdateTextInputState(type, can_compose_inline, caret_rect);
+ view_->ImeUpdateTextInputState(params.text_input_type,
+ params.can_compose_inline,
+ params.caret_bounds,
+ params.surrounding,
+ params.cursor,
+ params.anchor);
}
void RenderWidgetHost::OnMsgImeCompositionRangeChanged(const ui::Range& range) {
« no previous file with comments | « content/browser/renderer_host/render_widget_host.h ('k') | content/browser/renderer_host/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698