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 <string> | 9 #include <string> |
10 | 10 |
11 #include "android_webview/browser/find_helper.h" | 11 #include "android_webview/browser/find_helper.h" |
12 #include "android_webview/browser/icon_helper.h" | 12 #include "android_webview/browser/icon_helper.h" |
13 #include "android_webview/browser/renderer_host/aw_render_view_host_ext.h" | 13 #include "android_webview/browser/renderer_host/aw_render_view_host_ext.h" |
14 #include "android_webview/public/browser/draw_gl.h" | 14 #include "android_webview/public/browser/draw_gl.h" |
15 #include "base/android/scoped_java_ref.h" | 15 #include "base/android/scoped_java_ref.h" |
16 #include "base/android/jni_helper.h" | 16 #include "base/android/jni_helper.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "content/public/browser/android/compositor.h" | 18 #include "content/public/browser/android/compositor.h" |
19 #include "content/public/browser/javascript_dialogs.h" | 19 #include "content/public/browser/javascript_dialog_manager.h" |
20 #include "skia/ext/refptr.h" | 20 #include "skia/ext/refptr.h" |
21 #include "third_party/skia/include/core/SkPicture.h" | 21 #include "third_party/skia/include/core/SkPicture.h" |
22 | 22 |
23 typedef void* EGLContext; | 23 typedef void* EGLContext; |
24 class SkBitmap; | 24 class SkBitmap; |
25 class TabContents; | 25 class TabContents; |
26 | 26 |
27 namespace cc { | 27 namespace cc { |
28 class Layer; | 28 class Layer; |
29 } | 29 } |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 EGLContext last_frame_context_; | 200 EGLContext last_frame_context_; |
201 | 201 |
202 DISALLOW_COPY_AND_ASSIGN(AwContents); | 202 DISALLOW_COPY_AND_ASSIGN(AwContents); |
203 }; | 203 }; |
204 | 204 |
205 bool RegisterAwContents(JNIEnv* env); | 205 bool RegisterAwContents(JNIEnv* env); |
206 | 206 |
207 } // namespace android_webview | 207 } // namespace android_webview |
208 | 208 |
209 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 209 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
OLD | NEW |