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

Unified Diff: ui/wm/test/wm_test_helper.cc

Issue 2166863002: aura: Fix IME interaction in content-shell in chromeos build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« ui/aura/test/input_method_glue.h ('K') | « ui/wm/test/wm_test_helper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/test/wm_test_helper.cc
diff --git a/ui/wm/test/wm_test_helper.cc b/ui/wm/test/wm_test_helper.cc
index 7e4dc7e7d54ab5fc56f0142f6ed0e63919cd08aa..2f75a49ceabe1bb52b82baf65030769c067a63f7 100644
--- a/ui/wm/test/wm_test_helper.cc
+++ b/ui/wm/test/wm_test_helper.cc
@@ -6,6 +6,7 @@
#include "ui/aura/client/default_capture_client.h"
#include "ui/aura/env.h"
+#include "ui/aura/test/input_method_glue.h"
#include "ui/aura/test/test_focus_client.h"
#include "ui/aura/window.h"
#include "ui/wm/core/compound_event_filter.h"
@@ -18,6 +19,7 @@ WMTestHelper::WMTestHelper(const gfx::Size& default_window_size,
aura::Env::GetInstance()->set_context_factory(context_factory);
host_.reset(aura::WindowTreeHost::Create(gfx::Rect(default_window_size)));
host_->InitHost();
+ input_method_glue_.reset(new aura::InputMethodGlue(host_.get()));
aura::client::SetWindowTreeClient(host_->window(), this);
focus_client_.reset(new aura::test::TestFocusClient);
« ui/aura/test/input_method_glue.h ('K') | « ui/wm/test/wm_test_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698