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

Unified Diff: ui/aura/test/aura_test_base.cc

Issue 13235003: Support the Text services framework based IME for Chrome AURA on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | « chrome/test/base/view_event_test_base.cc ('k') | ui/base/ime/input_method_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_base.cc
===================================================================
--- ui/aura/test/aura_test_base.cc (revision 194055)
+++ ui/aura/test/aura_test_base.cc (working copy)
@@ -10,6 +10,11 @@
#include "ui/base/gestures/gesture_configuration.h"
#include "ui/base/ime/text_input_test_support.h"
+#if defined(OS_WIN)
+#include "base/win/metro.h"
+#include "ui/base/ime/win/tsf_bridge.h"
+#endif
+
namespace aura {
namespace test {
@@ -59,6 +64,10 @@
helper_.reset(new AuraTestHelper(&message_loop_));
helper_->SetUp();
+#if defined(OS_WIN)
+ if (base::win::IsTSFAwareRequired())
+ ui::TSFBridge::Initialize();
+#endif
}
void AuraTestBase::TearDown() {
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | ui/base/ime/input_method_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698