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

Unified Diff: blimp/client/core/contents/blimp_contents_impl.cc

Issue 2292343002: Hooking up Blimp IME with BlimpContents (Closed)
Patch Set: Fixed linux client Created 4 years, 4 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: blimp/client/core/contents/blimp_contents_impl.cc
diff --git a/blimp/client/core/contents/blimp_contents_impl.cc b/blimp/client/core/contents/blimp_contents_impl.cc
index c9c30cd01eda3891cb73934312a7d1cb740ebaf9..c7ae2fac04767f2bfb8d9be9509dfd7b4bfb3f0c 100644
--- a/blimp/client/core/contents/blimp_contents_impl.cc
+++ b/blimp/client/core/contents/blimp_contents_impl.cc
@@ -36,14 +36,17 @@ BlimpContentsImpl::BlimpContentsImpl(
: navigation_controller_(this, navigation_feature),
compositor_manager_(render_widget_feature, compositor_deps),
id_(id),
+ ime_feature_(ime_feature),
window_(window),
tab_control_feature_(tab_control_feature) {
blimp_contents_view_ =
BlimpContentsView::Create(this, compositor_manager_.layer());
+ ime_feature_->set_delegate(blimp_contents_view_->GetImeDelegate());
}
BlimpContentsImpl::~BlimpContentsImpl() {
FOR_EACH_OBSERVER(BlimpContentsObserver, observers_, BlimpContentsDying());
+ ime_feature_->set_delegate(nullptr);
}
#if defined(OS_ANDROID)
« no previous file with comments | « blimp/client/core/contents/blimp_contents_impl.h ('k') | blimp/client/core/contents/blimp_contents_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698