| 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 #include "content/browser/android/content_view_core_impl.h" | 5 #include "content/browser/android/content_view_core_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
| 10 #include "base/android/jni_array.h" | 10 #include "base/android/jni_array.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "content/browser/geolocation/geolocation_service_context.h" | 28 #include "content/browser/geolocation/geolocation_service_context.h" |
| 29 #include "content/browser/media/media_web_contents_observer.h" | 29 #include "content/browser/media/media_web_contents_observer.h" |
| 30 #include "content/browser/renderer_host/compositor_impl_android.h" | 30 #include "content/browser/renderer_host/compositor_impl_android.h" |
| 31 #include "content/browser/renderer_host/input/web_input_event_builders_android.h
" | 31 #include "content/browser/renderer_host/input/web_input_event_builders_android.h
" |
| 32 #include "content/browser/renderer_host/input/web_input_event_util.h" | 32 #include "content/browser/renderer_host/input/web_input_event_util.h" |
| 33 #include "content/browser/renderer_host/render_view_host_impl.h" | 33 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 34 #include "content/browser/renderer_host/render_widget_host_impl.h" | 34 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 35 #include "content/browser/renderer_host/render_widget_host_view_android.h" | 35 #include "content/browser/renderer_host/render_widget_host_view_android.h" |
| 36 #include "content/browser/web_contents/web_contents_view_android.h" | 36 #include "content/browser/web_contents/web_contents_view_android.h" |
| 37 #include "content/common/frame_messages.h" | 37 #include "content/common/frame_messages.h" |
| 38 #include "content/common/input/web_input_event_traits.h" | |
| 39 #include "content/common/input_messages.h" | 38 #include "content/common/input_messages.h" |
| 40 #include "content/common/view_messages.h" | 39 #include "content/common/view_messages.h" |
| 41 #include "content/public/browser/android/compositor.h" | 40 #include "content/public/browser/android/compositor.h" |
| 42 #include "content/public/browser/browser_context.h" | 41 #include "content/public/browser/browser_context.h" |
| 43 #include "content/public/browser/browser_thread.h" | 42 #include "content/public/browser/browser_thread.h" |
| 44 #include "content/public/browser/favicon_status.h" | 43 #include "content/public/browser/favicon_status.h" |
| 45 #include "content/public/browser/render_frame_host.h" | 44 #include "content/public/browser/render_frame_host.h" |
| 46 #include "content/public/browser/screen_orientation_dispatcher_host.h" | 45 #include "content/public/browser/screen_orientation_dispatcher_host.h" |
| 47 #include "content/public/browser/ssl_host_state_delegate.h" | 46 #include "content/public/browser/ssl_host_state_delegate.h" |
| 48 #include "content/public/browser/web_contents.h" | 47 #include "content/public/browser/web_contents.h" |
| 49 #include "content/public/common/content_client.h" | 48 #include "content/public/common/content_client.h" |
| 50 #include "content/public/common/content_switches.h" | 49 #include "content/public/common/content_switches.h" |
| 50 #include "content/public/common/input/web_input_event_traits.h" |
| 51 #include "content/public/common/menu_item.h" | 51 #include "content/public/common/menu_item.h" |
| 52 #include "content/public/common/user_agent.h" | 52 #include "content/public/common/user_agent.h" |
| 53 #include "jni/ContentViewCore_jni.h" | 53 #include "jni/ContentViewCore_jni.h" |
| 54 #include "third_party/WebKit/public/web/WebInputEvent.h" | 54 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 55 #include "ui/android/view_android.h" | 55 #include "ui/android/view_android.h" |
| 56 #include "ui/android/window_android.h" | 56 #include "ui/android/window_android.h" |
| 57 #include "ui/events/android/motion_event_android.h" | 57 #include "ui/events/android/motion_event_android.h" |
| 58 #include "ui/gfx/android/java_bitmap.h" | 58 #include "ui/gfx/android/java_bitmap.h" |
| 59 #include "ui/gfx/geometry/point_conversions.h" | 59 #include "ui/gfx/geometry/point_conversions.h" |
| 60 #include "ui/gfx/geometry/size_conversions.h" | 60 #include "ui/gfx/geometry/size_conversions.h" |
| (...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1516 return ScopedJavaLocalRef<jobject>(); | 1516 return ScopedJavaLocalRef<jobject>(); |
| 1517 | 1517 |
| 1518 return view->GetJavaObject(); | 1518 return view->GetJavaObject(); |
| 1519 } | 1519 } |
| 1520 | 1520 |
| 1521 bool RegisterContentViewCore(JNIEnv* env) { | 1521 bool RegisterContentViewCore(JNIEnv* env) { |
| 1522 return RegisterNativesImpl(env); | 1522 return RegisterNativesImpl(env); |
| 1523 } | 1523 } |
| 1524 | 1524 |
| 1525 } // namespace content | 1525 } // namespace content |
| OLD | NEW |