diff options
Diffstat (limited to 'ui/views/test/widget_test.h')
-rw-r--r-- | ui/views/test/widget_test.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/views/test/widget_test.h b/ui/views/test/widget_test.h index 16cf492..41a2647 100644 --- a/ui/views/test/widget_test.h +++ b/ui/views/test/widget_test.h @@ -18,6 +18,9 @@ #endif namespace ui { +namespace internal { +class InputMethodDelegate; +} class EventProcessor; } @@ -130,6 +133,10 @@ class WidgetTest : public ViewsTestBase { // processor. static ui::EventProcessor* GetEventProcessor(Widget* widget); + // Get the InputMethodDelegate, for setting on a Mock InputMethod in tests. + static ui::internal::InputMethodDelegate* GetInputMethodDelegateForWidget( + Widget* widget); + #if defined(OS_MACOSX) static scoped_ptr<FakeActivation> FakeWidgetIsActiveAlways(); #endif |