| Index: ui/views/widget/native_widget_private.h
|
| diff --git a/ui/views/widget/native_widget_private.h b/ui/views/widget/native_widget_private.h
|
| index f1890490285be7228ffe4bd24f66cef12a17b9f2..3667c35cc854682f8f33e53a966cc07304b1ae55 100644
|
| --- a/ui/views/widget/native_widget_private.h
|
| +++ b/ui/views/widget/native_widget_private.h
|
| @@ -8,7 +8,6 @@
|
| #include "base/strings/string16.h"
|
| #include "ui/base/ui_base_types.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| -#include "ui/views/ime/input_method_delegate.h"
|
| #include "ui/views/widget/native_widget.h"
|
|
|
| namespace gfx {
|
| @@ -17,12 +16,14 @@ class Rect;
|
| }
|
|
|
| namespace ui {
|
| +class InputMethod;
|
| class NativeTheme;
|
| class OSExchangeData;
|
| }
|
|
|
| namespace views {
|
| class InputMethod;
|
| +class InputMethodDelegate;
|
| class TooltipManager;
|
| namespace internal {
|
|
|
| @@ -142,6 +143,10 @@ class VIEWS_EXPORT NativeWidgetPrivate : public NativeWidget {
|
| // Returns the InputMethodDelegate for this native widget.
|
| virtual InputMethodDelegate* GetInputMethodDelegate() = 0;
|
|
|
| + // Returns the ui::InputMethod for this native widget.
|
| + // TODO(yukishiino): Rename this method to GetInputMethod once we remove
|
| + // views::InputMethod.
|
| + virtual ui::InputMethod* GetHostInputMethod() = 0;
|
|
|
| // Centers the window and sizes it to the specified size.
|
| virtual void CenterWindow(const gfx::Size& size) = 0;
|
|
|