| 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 #include "android_webview/native/android_webview_jni_registrar.h" | 5 #include "android_webview/native/android_webview_jni_registrar.h" |
| 6 | 6 |
| 7 #include "android_webview/native/android_protocol_handler.h" | 7 #include "android_webview/native/android_protocol_handler.h" |
| 8 #include "android_webview/native/aw_autofill_client.h" | 8 #include "android_webview/native/aw_autofill_client.h" |
| 9 #include "android_webview/native/aw_contents.h" | 9 #include "android_webview/native/aw_contents.h" |
| 10 #include "android_webview/native/aw_contents_background_thread_client.h" | 10 #include "android_webview/native/aw_contents_background_thread_client.h" |
| 11 #include "android_webview/native/aw_contents_client_bridge.h" | 11 #include "android_webview/native/aw_contents_client_bridge.h" |
| 12 #include "android_webview/native/aw_contents_io_thread_client_impl.h" | 12 #include "android_webview/native/aw_contents_io_thread_client_impl.h" |
| 13 #include "android_webview/native/aw_contents_lifecycle_notifier.h" | 13 #include "android_webview/native/aw_contents_lifecycle_notifier.h" |
| 14 #include "android_webview/native/aw_contents_statics.h" | 14 #include "android_webview/native/aw_contents_statics.h" |
| 15 #include "android_webview/native/aw_debug.h" | 15 #include "android_webview/native/aw_debug.h" |
| 16 #include "android_webview/native/aw_dev_tools_server.h" | 16 #include "android_webview/native/aw_dev_tools_server.h" |
| 17 #include "android_webview/native/aw_form_database.h" | 17 #include "android_webview/native/aw_form_database.h" |
| 18 #include "android_webview/native/aw_gl_functor.h" |
| 18 #include "android_webview/native/aw_http_auth_handler.h" | 19 #include "android_webview/native/aw_http_auth_handler.h" |
| 19 #include "android_webview/native/aw_message_port_service_impl.h" | 20 #include "android_webview/native/aw_message_port_service_impl.h" |
| 20 #include "android_webview/native/aw_metrics_switch.h" | 21 #include "android_webview/native/aw_metrics_switch.h" |
| 21 #include "android_webview/native/aw_pdf_exporter.h" | 22 #include "android_webview/native/aw_pdf_exporter.h" |
| 22 #include "android_webview/native/aw_picture.h" | 23 #include "android_webview/native/aw_picture.h" |
| 23 #include "android_webview/native/aw_quota_manager_bridge_impl.h" | 24 #include "android_webview/native/aw_quota_manager_bridge_impl.h" |
| 24 #include "android_webview/native/aw_resource.h" | 25 #include "android_webview/native/aw_resource.h" |
| 25 #include "android_webview/native/aw_settings.h" | 26 #include "android_webview/native/aw_settings.h" |
| 26 #include "android_webview/native/aw_web_contents_delegate.h" | 27 #include "android_webview/native/aw_web_contents_delegate.h" |
| 27 #include "android_webview/native/aw_web_resource_response_impl.h" | 28 #include "android_webview/native/aw_web_resource_response_impl.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 56 { "AwPermissionRequest", RegisterAwPermissionRequest }, | 57 { "AwPermissionRequest", RegisterAwPermissionRequest }, |
| 57 { "AwQuotaManagerBridge", RegisterAwQuotaManagerBridge }, | 58 { "AwQuotaManagerBridge", RegisterAwQuotaManagerBridge }, |
| 58 { "AwResource", AwResource::RegisterAwResource }, | 59 { "AwResource", AwResource::RegisterAwResource }, |
| 59 { "AwWebContentsDelegate", RegisterAwWebContentsDelegate }, | 60 { "AwWebContentsDelegate", RegisterAwWebContentsDelegate }, |
| 60 { "CookieManager", RegisterCookieManager }, | 61 { "CookieManager", RegisterCookieManager }, |
| 61 { "AwWebResourceResponseImpl", RegisterAwWebResourceResponse }, | 62 { "AwWebResourceResponseImpl", RegisterAwWebResourceResponse }, |
| 62 { "InputStream", RegisterInputStream }, | 63 { "InputStream", RegisterInputStream }, |
| 63 { "JavaBrowserViewRendererHelper", RegisterJavaBrowserViewRendererHelper }, | 64 { "JavaBrowserViewRendererHelper", RegisterJavaBrowserViewRendererHelper }, |
| 64 { "AwMessagePortService", RegisterAwMessagePortService }, | 65 { "AwMessagePortService", RegisterAwMessagePortService }, |
| 65 { "AwContentsLifecycleNotifier", RegisterAwContentsLifecycleNotifier }, | 66 { "AwContentsLifecycleNotifier", RegisterAwContentsLifecycleNotifier }, |
| 67 { "AwGLFunctor", RegisterAwGLFunctor }, |
| 66 }; | 68 }; |
| 67 | 69 |
| 68 bool RegisterJni(JNIEnv* env) { | 70 bool RegisterJni(JNIEnv* env) { |
| 69 TRACE_EVENT0("startup", "android_webview::RegisterJni"); | 71 TRACE_EVENT0("startup", "android_webview::RegisterJni"); |
| 70 return RegisterNativeMethods(env, | 72 return RegisterNativeMethods(env, |
| 71 kWebViewRegisteredMethods, arraysize(kWebViewRegisteredMethods)); | 73 kWebViewRegisteredMethods, arraysize(kWebViewRegisteredMethods)); |
| 72 } | 74 } |
| 73 | 75 |
| 74 } // namespace android_webview | 76 } // namespace android_webview |
| OLD | NEW |