Chromium Code Reviews| 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 7c89136bc9656844a692c397e25ead1680cfca5d..9036c228819dc744fb392979650acb287f4baa6f 100644 |
| --- a/content/public/browser/render_widget_host_view.h |
| +++ b/content/public/browser/render_widget_host_view.h |
| @@ -24,6 +24,10 @@ class Rect; |
| class Size; |
| } |
| +namespace ui { |
| +class TextInputClient; |
| +} |
| + |
| namespace content { |
| class BrowserAccessibilityManager; |
| @@ -80,6 +84,10 @@ 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. |
|
msw
2014/04/18 19:57:57
nit: should this note that certain platforms are n
Yuki
2014/04/22 09:09:02
Added a note.
|
| + 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. |