OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/jni_helper.h" | 10 #include "base/android/jni_weak_ref.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 class RenderFrameHost; | 14 class RenderFrameHost; |
15 class RenderWidgetHostImpl; | 15 class RenderWidgetHostImpl; |
16 class RenderWidgetHostViewAndroid; | 16 class RenderWidgetHostViewAndroid; |
17 class WebContents; | 17 class WebContents; |
18 struct NativeWebKeyboardEvent; | 18 struct NativeWebKeyboardEvent; |
19 | 19 |
20 // This class is in charge of dispatching key events from the java side | 20 // This class is in charge of dispatching key events from the java side |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 RenderWidgetHostViewAndroid* rwhva_; | 68 RenderWidgetHostViewAndroid* rwhva_; |
69 JavaObjectWeakGlobalRef java_ime_adapter_; | 69 JavaObjectWeakGlobalRef java_ime_adapter_; |
70 }; | 70 }; |
71 | 71 |
72 bool RegisterImeAdapter(JNIEnv* env); | 72 bool RegisterImeAdapter(JNIEnv* env); |
73 | 73 |
74 } // namespace content | 74 } // namespace content |
75 | 75 |
76 #endif // CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_ | 76 #endif // CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_ |
OLD | NEW |