| Index: views/controls/textfield/native_textfield_wrapper.h
|
| diff --git a/views/controls/textfield/native_textfield_wrapper.h b/views/controls/textfield/native_textfield_wrapper.h
|
| index 2ad5b6cb93aa4859fd44e013aa6f729dda9c7ff2..b3a6edbb7e0bada2dad726b5c9a272f71d4e3817 100644
|
| --- a/views/controls/textfield/native_textfield_wrapper.h
|
| +++ b/views/controls/textfield/native_textfield_wrapper.h
|
| @@ -21,6 +21,7 @@ namespace views {
|
|
|
| class KeyEvent;
|
| class Textfield;
|
| +class TextInputClient;
|
| class View;
|
|
|
| // An interface implemented by an object that provides a platform-native
|
| @@ -120,6 +121,10 @@ class NativeTextfieldWrapper {
|
| virtual void HandleFocus() = 0;
|
| virtual void HandleBlur() = 0;
|
|
|
| + // Returns the View's TextInputClient instance or NULL if the View doesn't
|
| + // support text input.
|
| + virtual TextInputClient* GetTextInputClient() = 0;
|
| +
|
| // Creates an appropriate NativeTextfieldWrapper for the platform.
|
| static NativeTextfieldWrapper* CreateWrapper(Textfield* field);
|
| };
|
|
|