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 <content/browser/android/app_web_message_port_service_impl.h> | |
sgurun-gerrit only
2016/09/30 23:40:59
remove
Yusuf
2016/10/04 21:33:14
Done.
| |
5 #include "android_webview/native/android_webview_jni_registrar.h" | 6 #include "android_webview/native/android_webview_jni_registrar.h" |
6 | 7 |
7 #include "android_webview/native/android_protocol_handler.h" | 8 #include "android_webview/native/android_protocol_handler.h" |
8 #include "android_webview/native/aw_autofill_client.h" | 9 #include "android_webview/native/aw_autofill_client.h" |
9 #include "android_webview/native/aw_contents.h" | 10 #include "android_webview/native/aw_contents.h" |
10 #include "android_webview/native/aw_contents_client_bridge.h" | 11 #include "android_webview/native/aw_contents_client_bridge.h" |
11 #include "android_webview/native/aw_contents_statics.h" | 12 #include "android_webview/native/aw_contents_statics.h" |
12 #include "android_webview/native/aw_debug.h" | 13 #include "android_webview/native/aw_debug.h" |
13 #include "android_webview/native/aw_devtools_server.h" | 14 #include "android_webview/native/aw_devtools_server.h" |
14 #include "android_webview/native/aw_form_database.h" | 15 #include "android_webview/native/aw_form_database.h" |
15 #include "android_webview/native/aw_gl_functor.h" | 16 #include "android_webview/native/aw_gl_functor.h" |
16 #include "android_webview/native/aw_http_auth_handler.h" | 17 #include "android_webview/native/aw_http_auth_handler.h" |
17 #include "android_webview/native/aw_message_port_service_impl.h" | |
18 #include "android_webview/native/aw_metrics_switch.h" | 18 #include "android_webview/native/aw_metrics_switch.h" |
19 #include "android_webview/native/aw_pdf_exporter.h" | 19 #include "android_webview/native/aw_pdf_exporter.h" |
20 #include "android_webview/native/aw_picture.h" | 20 #include "android_webview/native/aw_picture.h" |
21 #include "android_webview/native/aw_quota_manager_bridge_impl.h" | 21 #include "android_webview/native/aw_quota_manager_bridge_impl.h" |
22 #include "android_webview/native/aw_settings.h" | 22 #include "android_webview/native/aw_settings.h" |
23 #include "android_webview/native/aw_web_contents_delegate.h" | 23 #include "android_webview/native/aw_web_contents_delegate.h" |
24 #include "android_webview/native/cookie_manager.h" | 24 #include "android_webview/native/cookie_manager.h" |
25 #include "android_webview/native/permission/aw_permission_request.h" | 25 #include "android_webview/native/permission/aw_permission_request.h" |
26 #include "base/android/jni_android.h" | 26 #include "base/android/jni_android.h" |
27 #include "base/android/jni_registrar.h" | 27 #include "base/android/jni_registrar.h" |
(...skipping 17 matching lines...) Expand all Loading... | |
45 { "AwFormDatabase", RegisterAwFormDatabase }, | 45 { "AwFormDatabase", RegisterAwFormDatabase }, |
46 { "AwPicture", RegisterAwPicture }, | 46 { "AwPicture", RegisterAwPicture }, |
47 { "AwSettings", RegisterAwSettings }, | 47 { "AwSettings", RegisterAwSettings }, |
48 { "AwHttpAuthHandler", RegisterAwHttpAuthHandler }, | 48 { "AwHttpAuthHandler", RegisterAwHttpAuthHandler }, |
49 { "AwMetricsServiceClient", RegisterAwMetricsServiceClient }, | 49 { "AwMetricsServiceClient", RegisterAwMetricsServiceClient }, |
50 { "AwPdfExporter", RegisterAwPdfExporter }, | 50 { "AwPdfExporter", RegisterAwPdfExporter }, |
51 { "AwPermissionRequest", RegisterAwPermissionRequest }, | 51 { "AwPermissionRequest", RegisterAwPermissionRequest }, |
52 { "AwQuotaManagerBridge", RegisterAwQuotaManagerBridge }, | 52 { "AwQuotaManagerBridge", RegisterAwQuotaManagerBridge }, |
53 { "AwWebContentsDelegate", RegisterAwWebContentsDelegate }, | 53 { "AwWebContentsDelegate", RegisterAwWebContentsDelegate }, |
54 { "CookieManager", RegisterCookieManager }, | 54 { "CookieManager", RegisterCookieManager }, |
55 { "AwMessagePortService", RegisterAwMessagePortService }, | |
56 { "AwGLFunctor", RegisterAwGLFunctor }, | 55 { "AwGLFunctor", RegisterAwGLFunctor }, |
57 #if defined(ENABLE_SPELLCHECK) | 56 #if defined(ENABLE_SPELLCHECK) |
58 {"SpellCheckerSessionBridge", spellcheck::android::RegisterSpellcheckJni}, | 57 {"SpellCheckerSessionBridge", spellcheck::android::RegisterSpellcheckJni}, |
59 #endif | 58 #endif |
60 }; | 59 }; |
61 | 60 |
62 bool RegisterJni(JNIEnv* env) { | 61 bool RegisterJni(JNIEnv* env) { |
63 TRACE_EVENT0("startup", "android_webview::RegisterJni"); | 62 TRACE_EVENT0("startup", "android_webview::RegisterJni"); |
64 return RegisterNativeMethods(env, | 63 return RegisterNativeMethods(env, |
65 kWebViewRegisteredMethods, arraysize(kWebViewRegisteredMethods)); | 64 kWebViewRegisteredMethods, arraysize(kWebViewRegisteredMethods)); |
66 } | 65 } |
67 | 66 |
68 } // namespace android_webview | 67 } // namespace android_webview |
OLD | NEW |