| Index: content/browser/renderer_host/render_widget_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
|
| index 58ce385ef8e9eebcd8a09c5aa8b98e4294fecb68..ba7fca8d9509784a20f8a002812ab3968d3466c6 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.h
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.h
|
| @@ -53,9 +53,12 @@ class CompositorFrame;
|
| class CompositorFrameAck;
|
| }
|
|
|
| +namespace gfx {
|
| +class Range;
|
| +}
|
| +
|
| namespace ui {
|
| class KeyEvent;
|
| -class Range;
|
| }
|
|
|
| namespace WebKit {
|
| @@ -342,7 +345,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
|
| // * when it receives a "commit" signal of GtkIMContext (on Linux);
|
| // * when insertText of NSTextInput is called (on Mac).
|
| void ImeConfirmComposition(const string16& text,
|
| - const ui::Range& replacement_range,
|
| + const gfx::Range& replacement_range,
|
| bool keep_selection);
|
|
|
| // Cancels an ongoing composition.
|
| @@ -663,7 +666,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
|
| bool can_compose_inline);
|
| #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
|
| void OnImeCompositionRangeChanged(
|
| - const ui::Range& range,
|
| + const gfx::Range& range,
|
| const std::vector<gfx::Rect>& character_bounds);
|
| #endif
|
| void OnImeCancelComposition();
|
|
|