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/renderer_host/aw_render_view_host_ext.h" | 12 #include "android_webview/browser/renderer_host/aw_render_view_host_ext.h" |
13 #include "android_webview/public/browser/draw_gl.h" | 13 #include "android_webview/public/browser/draw_gl.h" |
14 #include "base/android/scoped_java_ref.h" | 14 #include "base/android/scoped_java_ref.h" |
15 #include "base/android/jni_helper.h" | 15 #include "base/android/jni_helper.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "content/public/browser/android/compositor.h" | 17 #include "content/public/browser/android/compositor.h" |
18 #include "content/public/browser/javascript_dialogs.h" | 18 #include "content/public/browser/javascript_dialogs.h" |
19 | 19 |
20 class GURL; | |
benm (inactive)
2013/01/16 01:00:22
needed?
boliu
2013/01/16 01:10:08
Guess not, probably already transitively included.
boliu
2013/01/16 01:58:44
Done.
| |
21 | |
20 typedef void* EGLContext; | 22 typedef void* EGLContext; |
21 class TabContents; | 23 class TabContents; |
22 | 24 |
23 namespace cc { | 25 namespace cc { |
24 class Layer; | 26 class Layer; |
25 } | 27 } |
26 | 28 |
27 namespace content { | 29 namespace content { |
28 class Compositor; | 30 class Compositor; |
29 class WebContents; | 31 class WebContents; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
163 EGLContext last_frame_context_; | 165 EGLContext last_frame_context_; |
164 | 166 |
165 DISALLOW_COPY_AND_ASSIGN(AwContents); | 167 DISALLOW_COPY_AND_ASSIGN(AwContents); |
166 }; | 168 }; |
167 | 169 |
168 bool RegisterAwContents(JNIEnv* env); | 170 bool RegisterAwContents(JNIEnv* env); |
169 | 171 |
170 } // namespace android_webview | 172 } // namespace android_webview |
171 | 173 |
172 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 174 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
OLD | NEW |