summaryrefslogtreecommitdiffstats
path: root/ui/platform_window/android/platform_window_android.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/platform_window/android/platform_window_android.cc')
-rw-r--r--ui/platform_window/android/platform_window_android.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/platform_window/android/platform_window_android.cc b/ui/platform_window/android/platform_window_android.cc
index 0b34927c1..5101948 100644
--- a/ui/platform_window/android/platform_window_android.cc
+++ b/ui/platform_window/android/platform_window_android.cc
@@ -158,7 +158,8 @@ void PlatformWindowAndroid::Show() {
java_platform_window_android_ = JavaObjectWeakGlobalRef(
env, Java_PlatformWindowAndroid_createForActivity(
env, base::android::GetApplicationContext(),
- reinterpret_cast<jlong>(this)).obj());
+ reinterpret_cast<jlong>(this),
+ reinterpret_cast<jlong>(&platform_ime_controller_)).obj());
}
void PlatformWindowAndroid::Hide() {
@@ -213,4 +214,8 @@ void PlatformWindowAndroid::ConfineCursorToBounds(const gfx::Rect& bounds) {
NOTIMPLEMENTED();
}
+PlatformImeController* PlatformWindowAndroid::GetPlatformImeController() {
+ return &platform_ime_controller_;
+}
+
} // namespace ui