| 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 "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
| 8 #include "base/android/jni_array.h" | 8 #include "base/android/jni_array.h" |
| 9 #include "base/android/jni_string.h" | 9 #include "base/android/jni_string.h" |
| 10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "content/public/browser/render_frame_host.h" | 44 #include "content/public/browser/render_frame_host.h" |
| 45 #include "content/public/browser/screen_orientation_dispatcher_host.h" | 45 #include "content/public/browser/screen_orientation_dispatcher_host.h" |
| 46 #include "content/public/browser/ssl_host_state_delegate.h" | 46 #include "content/public/browser/ssl_host_state_delegate.h" |
| 47 #include "content/public/browser/web_contents.h" | 47 #include "content/public/browser/web_contents.h" |
| 48 #include "content/public/common/content_client.h" | 48 #include "content/public/common/content_client.h" |
| 49 #include "content/public/common/content_switches.h" | 49 #include "content/public/common/content_switches.h" |
| 50 #include "content/public/common/menu_item.h" | 50 #include "content/public/common/menu_item.h" |
| 51 #include "content/public/common/user_agent.h" | 51 #include "content/public/common/user_agent.h" |
| 52 #include "jni/ContentViewCore_jni.h" | 52 #include "jni/ContentViewCore_jni.h" |
| 53 #include "third_party/WebKit/public/web/WebInputEvent.h" | 53 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 54 #include "ui/base/android/view_android.h" | 54 #include "ui/android/view_android.h" |
| 55 #include "ui/base/android/window_android.h" | 55 #include "ui/android/window_android.h" |
| 56 #include "ui/gfx/android/java_bitmap.h" | 56 #include "ui/gfx/android/java_bitmap.h" |
| 57 #include "ui/gfx/geometry/size_conversions.h" | 57 #include "ui/gfx/geometry/size_conversions.h" |
| 58 #include "ui/gfx/geometry/size_f.h" | 58 #include "ui/gfx/geometry/size_f.h" |
| 59 #include "ui/gfx/screen.h" | 59 #include "ui/gfx/screen.h" |
| 60 | 60 |
| 61 using base::android::AttachCurrentThread; | 61 using base::android::AttachCurrentThread; |
| 62 using base::android::ConvertJavaStringToUTF16; | 62 using base::android::ConvertJavaStringToUTF16; |
| 63 using base::android::ConvertJavaStringToUTF8; | 63 using base::android::ConvertJavaStringToUTF8; |
| 64 using base::android::ConvertUTF16ToJavaString; | 64 using base::android::ConvertUTF16ToJavaString; |
| 65 using base::android::ConvertUTF8ToJavaString; | 65 using base::android::ConvertUTF8ToJavaString; |
| (...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1391 return NULL; | 1391 return NULL; |
| 1392 | 1392 |
| 1393 return view->GetJavaObject().Release(); | 1393 return view->GetJavaObject().Release(); |
| 1394 } | 1394 } |
| 1395 | 1395 |
| 1396 bool RegisterContentViewCore(JNIEnv* env) { | 1396 bool RegisterContentViewCore(JNIEnv* env) { |
| 1397 return RegisterNativesImpl(env); | 1397 return RegisterNativesImpl(env); |
| 1398 } | 1398 } |
| 1399 | 1399 |
| 1400 } // namespace content | 1400 } // namespace content |
| OLD | NEW |