OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 class WindowAndroid; | 27 class WindowAndroid; |
28 } | 28 } |
29 | 29 |
30 namespace content { | 30 namespace content { |
31 | 31 |
32 class GinJavaBridgeDispatcherHost; | 32 class GinJavaBridgeDispatcherHost; |
33 class RenderFrameHost; | 33 class RenderFrameHost; |
34 class RenderWidgetHostViewAndroid; | 34 class RenderWidgetHostViewAndroid; |
35 struct MenuItem; | 35 struct MenuItem; |
36 | 36 |
37 // TODO(jrg): this is a shell. Upstream the rest. | |
38 class ContentViewCoreImpl : public ContentViewCore, | 37 class ContentViewCoreImpl : public ContentViewCore, |
39 public WebContentsObserver { | 38 public WebContentsObserver { |
40 public: | 39 public: |
41 static ContentViewCoreImpl* FromWebContents(WebContents* web_contents); | 40 static ContentViewCoreImpl* FromWebContents(WebContents* web_contents); |
42 ContentViewCoreImpl(JNIEnv* env, | 41 ContentViewCoreImpl(JNIEnv* env, |
43 jobject obj, | 42 jobject obj, |
44 WebContents* web_contents, | 43 WebContents* web_contents, |
45 ui::ViewAndroid* view_android, | 44 ui::ViewAndroid* view_android, |
46 ui::WindowAndroid* window_android, | 45 ui::WindowAndroid* window_android, |
47 jobject java_bridge_retained_object_set); | 46 jobject java_bridge_retained_object_set); |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 348 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
350 | 349 |
351 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 350 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
352 }; | 351 }; |
353 | 352 |
354 bool RegisterContentViewCore(JNIEnv* env); | 353 bool RegisterContentViewCore(JNIEnv* env); |
355 | 354 |
356 } // namespace content | 355 } // namespace content |
357 | 356 |
358 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 357 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |