| Index: ui/aura/desktop_host_win.h
|
| diff --git a/ui/aura/desktop_host_win.h b/ui/aura/desktop_host_win.h
|
| index cd9c1361c84810beabd828483c691c64a0f62235..8e5061763d680d3ba4f5b1a05cbb90af974ab007 100644
|
| --- a/ui/aura/desktop_host_win.h
|
| +++ b/ui/aura/desktop_host_win.h
|
| @@ -8,11 +8,15 @@
|
|
|
| #include "base/compiler_specific.h"
|
| #include "ui/aura/desktop_host.h"
|
| +#include "ui/base/ime/input_method_delegate.h"
|
| +#include "ui/base/ime/mock_input_method.h"
|
| #include "ui/base/win/window_impl.h"
|
|
|
| namespace aura {
|
|
|
| -class DesktopHostWin : public DesktopHost, public ui::WindowImpl {
|
| +class DesktopHostWin : public DesktopHost,
|
| + public ui::internal::InputMethodDelegate,
|
| + public ui::WindowImpl {
|
| public:
|
| explicit DesktopHostWin(const gfx::Rect& bounds);
|
| virtual ~DesktopHostWin();
|
| @@ -31,6 +35,12 @@ class DesktopHostWin : public DesktopHost, public ui::WindowImpl {
|
| virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
|
| virtual gfx::Point QueryMouseLocation() OVERRIDE;
|
| virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
|
| + virtual ui::InputMethod* GetInputMethod() OVERRIDE;
|
| +
|
| + // ui::internal::InputMethodDelegate Override.
|
| + virtual void DispatchKeyEventPostIME(const base::NativeEvent& event) OVERRIDE;
|
| + virtual void DispatchFabricatedKeyEventPostIME(
|
| + ui::EventType type, ui::KeyboardCode key_code, int flags) OVERRIDE;
|
|
|
| private:
|
| BEGIN_MSG_MAP_EX(DesktopHostWin)
|
| @@ -60,6 +70,9 @@ class DesktopHostWin : public DesktopHost, public ui::WindowImpl {
|
|
|
| Desktop* desktop_;
|
|
|
| + // TODO(yusukes): implement ui::InputMethodWin.
|
| + ui::MockInputMethod input_method_;
|
| +
|
| bool fullscreen_;
|
| RECT saved_window_rect_;
|
| DWORD saved_window_style_;
|
|
|