Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index 3bad78a5d109e9877a1035c282578a14e39d0517..bbb3dbceb6ef84fe59871019a650cdaacc2697f3 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -399,6 +399,16 @@ class RenderWidget : public IPC::Channel::Listener, |
// Stores the current text input type of |webwidget_|. |
ui::TextInputType text_input_type_; |
+ // Stores the current surrounding text of |webwidget_|. |
+ string16 surrounding_; |
+ |
+ // Stores the current cursor in surrounding text of |webwidget_|. |
+ size_t cursor_; |
+ |
+ // Stores the current anchor in surrounding text of |webwidget_|. |
+ size_t anchor_; |
+ |
+ |
// Stores the current type of composition text rendering of |webwidget_|. |
bool can_compose_inline_; |