Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Unified Diff: ui/views/test/widget_test.h

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/ime/null_input_method.cc ('k') | ui/views/test/widget_test_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/widget_test.h
diff --git a/ui/views/test/widget_test.h b/ui/views/test/widget_test.h
index 16cf492c1456f956a7004ad5f45b6b3833796fe3..41a2647b7a65e11dcfa43f2306866d1a041079d5 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
« no previous file with comments | « ui/views/ime/null_input_method.cc ('k') | ui/views/test/widget_test_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698