| Index: views/view.h
|
| diff --git a/views/view.h b/views/view.h
|
| index f34e555d4332f9fa6a65ea323c271d7b47403683..6513003a0e128c4d0f949305c12a9d550536e7a5 100644
|
| --- a/views/view.h
|
| +++ b/views/view.h
|
| @@ -52,9 +52,11 @@ class Background;
|
| class Border;
|
| class FocusManager;
|
| class FocusTraversable;
|
| +class InputMethod;
|
| class LayoutManager;
|
| class RootView;
|
| class ScrollView;
|
| +class TextInputClient;
|
| class Widget;
|
| class Window;
|
|
|
| @@ -685,6 +687,15 @@ class View : public AcceleratorTarget {
|
| // will be given a chance.
|
| virtual bool OnMouseWheel(const MouseWheelEvent& event);
|
|
|
| + // Returns the View's TextInputClient instance or NULL if the View doesn't
|
| + // support text input.
|
| + virtual TextInputClient* GetTextInputClient();
|
| +
|
| + // Convenience method to retrieve the InputMethod associated with the
|
| + // Widget that contains this view. Returns NULL if this view is not part of a
|
| + // view hierarchy with a Widget.
|
| + virtual InputMethod* GetInputMethod();
|
| +
|
| // Accelerators --------------------------------------------------------------
|
|
|
| // Sets a keyboard accelerator for that view. When the user presses the
|
|
|