Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index f54b3adbfc2764ca2f9cf5b8091098dfb9d5f31b..397e48cee7988b65b2d92227bc10c0722c93ef76 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -49,6 +49,10 @@ namespace skia { |
class PlatformCanvas; |
} |
+namespace ui { |
+class Range; |
+} |
+ |
namespace webkit { |
namespace npapi { |
struct WebPluginGeometry; |
@@ -206,7 +210,8 @@ class CONTENT_EXPORT RenderWidget |
const std::vector<WebKit::WebCompositionUnderline>& underlines, |
int selection_start, |
int selection_end); |
- virtual void OnImeConfirmComposition(const string16& text); |
+ virtual void OnImeConfirmComposition( |
+ const string16& text, const ui::Range& replacement_range); |
void OnMsgPaintAtSize(const TransportDIB::Handle& dib_id, |
int tag, |
const gfx::Size& page_size, |