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

Side by Side Diff: content/browser/renderer_host/ime_adapter_android.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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 <vector> 10 #include <vector>
11 11
12 #include "base/android/jni_weak_ref.h" 12 #include "base/android/jni_weak_ref.h"
13 #include "ui/gfx/geometry/rect_f.h" 13 #include "ui/gfx/geometry/rect_f.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 class RenderFrameHost; 17 class RenderFrameHost;
18 class RenderWidgetHostImpl; 18 class RenderWidgetHostImpl;
19 class RenderWidgetHostViewAndroid; 19 class RenderWidgetHostViewAndroid;
20 class WebContents; 20 class WebContents;
21 struct NativeWebKeyboardEvent;
22 21
23 // This class is in charge of dispatching key events from the java side 22 // This class is in charge of dispatching key events from the java side
24 // and forward to renderer along with input method results via 23 // and forward to renderer along with input method results via
25 // corresponding host view. 24 // corresponding host view.
26 // Ownership of these objects remains on the native side (see 25 // Ownership of these objects remains on the native side (see
27 // RenderWidgetHostViewAndroid). 26 // RenderWidgetHostViewAndroid).
28 class ImeAdapterAndroid { 27 class ImeAdapterAndroid {
29 public: 28 public:
30 explicit ImeAdapterAndroid(RenderWidgetHostViewAndroid* rwhva); 29 explicit ImeAdapterAndroid(RenderWidgetHostViewAndroid* rwhva);
31 ~ImeAdapterAndroid(); 30 ~ImeAdapterAndroid();
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 88
90 RenderWidgetHostViewAndroid* rwhva_; 89 RenderWidgetHostViewAndroid* rwhva_;
91 JavaObjectWeakGlobalRef java_ime_adapter_; 90 JavaObjectWeakGlobalRef java_ime_adapter_;
92 }; 91 };
93 92
94 bool RegisterImeAdapter(JNIEnv* env); 93 bool RegisterImeAdapter(JNIEnv* env);
95 94
96 } // namespace content 95 } // namespace content
97 96
98 #endif // CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_ 97 #endif // CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698