| Index: content/renderer/render_view_impl.h
|
| diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
|
| index fc77452a7ee3333b7bb8360bb05d07778dae55e9..92eeab0cb796780f98eaec501e8494614f4c4f3c 100644
|
| --- a/content/renderer/render_view_impl.h
|
| +++ b/content/renderer/render_view_impl.h
|
| @@ -296,6 +296,15 @@ class RenderViewImpl : public RenderWidget,
|
| // Retrieves the current caret position if a PPAPI plugin has focus.
|
| bool GetPpapiPluginCaretBounds(gfx::Rect* rect);
|
|
|
| + // Simulates IME events for testing purpose.
|
| + void SimulateImeSetComposition(
|
| + const string16& text,
|
| + const std::vector<WebKit::WebCompositionUnderline>& underlines,
|
| + int selection_start,
|
| + int selection_end);
|
| + void SimulateImeConfirmComposition(const string16& text,
|
| + const ui::Range& replacement_range);
|
| +
|
| #if defined(OS_MACOSX) || defined(OS_WIN)
|
| // Informs the render view that the given plugin has gained or lost focus.
|
| void PluginFocusChanged(bool focused, int plugin_id);
|
|
|