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..b3a17301fe43afd14e9f2bcf9aadb3c9e47fe34e 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; |
@@ -86,6 +90,9 @@ class CONTENT_EXPORT RenderWidgetHostView { |
virtual bool HasFocus() const = 0; |
// Returns true is the current display surface is available. |
virtual bool IsSurfaceAvailableForCopy() const = 0; |
+ // Returns a ui::TextInputClient to support text input or NULL if this RWHV |
msw
2014/03/11 00:58:50
nit: order after GetNativeView* or GetSelectedText
Yuki
2014/03/11 15:27:37
Done.
|
+ // doesn't support text input. |
+ virtual ui::TextInputClient* GetTextInputClient() = 0; |
// Shows/hides the view. These must always be called together in pairs. |
// It is not legal to call Hide() multiple times in a row. |