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

Unified Diff: ui/views/test/views_test_base.cc

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: per comments 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
Index: ui/views/test/views_test_base.cc
diff --git a/ui/views/test/views_test_base.cc b/ui/views/test/views_test_base.cc
index 1e18266ce361372c667dd326e40b95a864478710..e6f7b562c7e7ab350d02949b7f0feda5e8d5b302 100644
--- a/ui/views/test/views_test_base.cc
+++ b/ui/views/test/views_test_base.cc
@@ -6,6 +6,7 @@
#include "base/run_loop.h"
#include "ui/base/clipboard/clipboard.h"
+#include "ui/base/ime/input_method_factory.h"
namespace views {
@@ -29,6 +30,8 @@ void ViewsTestBase::SetUp() {
test_helper_.reset(
new ScopedViewsTestHelper(views_delegate_for_setup_.Pass()));
+
+ ui::SetUpInputMethodFactoryForTesting();
}
void ViewsTestBase::TearDown() {

Powered by Google App Engine
This is Rietveld 408576698