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 ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <list> | 9 #include <list> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "android_webview/browser/browser_view_renderer.h" | 13 #include "android_webview/browser/browser_view_renderer.h" |
14 #include "android_webview/browser/browser_view_renderer_client.h" | 14 #include "android_webview/browser/browser_view_renderer_client.h" |
15 #include "android_webview/browser/find_helper.h" | 15 #include "android_webview/browser/find_helper.h" |
16 #include "android_webview/browser/icon_helper.h" | 16 #include "android_webview/browser/icon_helper.h" |
17 #include "android_webview/browser/renderer_host/aw_render_view_host_ext.h" | 17 #include "android_webview/browser/renderer_host/aw_render_view_host_ext.h" |
18 #include "android_webview/browser/shared_renderer_state.h" | 18 #include "android_webview/browser/shared_renderer_state.h" |
| 19 #include "base/android/jni_weak_ref.h" |
19 #include "base/android/scoped_java_ref.h" | 20 #include "base/android/scoped_java_ref.h" |
20 #include "base/android/jni_helper.h" | |
21 #include "base/callback_forward.h" | 21 #include "base/callback_forward.h" |
22 #include "base/memory/scoped_ptr.h" | 22 #include "base/memory/scoped_ptr.h" |
23 | 23 |
24 class SkBitmap; | 24 class SkBitmap; |
25 class TabContents; | 25 class TabContents; |
26 struct AwDrawGLInfo; | 26 struct AwDrawGLInfo; |
27 | 27 |
28 namespace content { | 28 namespace content { |
29 class WebContents; | 29 class WebContents; |
30 } | 30 } |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 std::list<OriginCallback> pending_geolocation_prompts_; | 229 std::list<OriginCallback> pending_geolocation_prompts_; |
230 | 230 |
231 DISALLOW_COPY_AND_ASSIGN(AwContents); | 231 DISALLOW_COPY_AND_ASSIGN(AwContents); |
232 }; | 232 }; |
233 | 233 |
234 bool RegisterAwContents(JNIEnv* env); | 234 bool RegisterAwContents(JNIEnv* env); |
235 | 235 |
236 } // namespace android_webview | 236 } // namespace android_webview |
237 | 237 |
238 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 238 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
OLD | NEW |