| Index: content/public/browser/render_widget_host_view.h
|
| diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h
|
| index 821dc21bf657328bb5ea8ec10829a353ab48745d..12e6e04e042a943241670b2265c2c638eaa16c82 100644
|
| --- a/content/public/browser/render_widget_host_view.h
|
| +++ b/content/public/browser/render_widget_host_view.h
|
| @@ -20,6 +20,10 @@ class Rect;
|
| class Size;
|
| }
|
|
|
| +namespace ui {
|
| +class TextInputClient;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class BrowserAccessibilityManager;
|
| @@ -76,6 +80,13 @@ class CONTENT_EXPORT RenderWidgetHostView {
|
| virtual gfx::NativeViewId GetNativeViewId() const = 0;
|
| virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0;
|
|
|
| + // Returns a ui::TextInputClient to support text input or NULL if this RWHV
|
| + // doesn't support text input.
|
| + // Note: Not all the platforms use ui::InputMethod and ui::TextInputClient for
|
| + // text input. Some of platforms (Mac and Android for example) use their own
|
| + // text input system.
|
| + virtual ui::TextInputClient* GetTextInputClient() = 0;
|
| +
|
| // Set focus to the associated View component.
|
| virtual void Focus() = 0;
|
| // Returns true if the View currently has the focus.
|
|
|