Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(729)

Side by Side Diff: android_webview/native/android_webview_jni_registrar.cc

Issue 2375133002: Move MessagePort implementation from android_webview to content (Closed)
Patch Set: rsesek nits and git cl format Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « android_webview/native/BUILD.gn ('k') | android_webview/native/aw_contents.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_client_bridge.h" 10 #include "android_webview/native/aw_contents_client_bridge.h"
11 #include "android_webview/native/aw_contents_statics.h" 11 #include "android_webview/native/aw_contents_statics.h"
12 #include "android_webview/native/aw_debug.h" 12 #include "android_webview/native/aw_debug.h"
13 #include "android_webview/native/aw_devtools_server.h" 13 #include "android_webview/native/aw_devtools_server.h"
14 #include "android_webview/native/aw_form_database.h" 14 #include "android_webview/native/aw_form_database.h"
15 #include "android_webview/native/aw_gl_functor.h" 15 #include "android_webview/native/aw_gl_functor.h"
16 #include "android_webview/native/aw_http_auth_handler.h" 16 #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" 17 #include "android_webview/native/aw_metrics_switch.h"
19 #include "android_webview/native/aw_pdf_exporter.h" 18 #include "android_webview/native/aw_pdf_exporter.h"
20 #include "android_webview/native/aw_picture.h" 19 #include "android_webview/native/aw_picture.h"
21 #include "android_webview/native/aw_quota_manager_bridge_impl.h" 20 #include "android_webview/native/aw_quota_manager_bridge_impl.h"
22 #include "android_webview/native/aw_settings.h" 21 #include "android_webview/native/aw_settings.h"
23 #include "android_webview/native/aw_web_contents_delegate.h" 22 #include "android_webview/native/aw_web_contents_delegate.h"
24 #include "android_webview/native/cookie_manager.h" 23 #include "android_webview/native/cookie_manager.h"
25 #include "android_webview/native/permission/aw_permission_request.h" 24 #include "android_webview/native/permission/aw_permission_request.h"
26 #include "base/android/jni_android.h" 25 #include "base/android/jni_android.h"
27 #include "base/android/jni_registrar.h" 26 #include "base/android/jni_registrar.h"
(...skipping 17 matching lines...) Expand all
45 { "AwFormDatabase", RegisterAwFormDatabase }, 44 { "AwFormDatabase", RegisterAwFormDatabase },
46 { "AwPicture", RegisterAwPicture }, 45 { "AwPicture", RegisterAwPicture },
47 { "AwSettings", RegisterAwSettings }, 46 { "AwSettings", RegisterAwSettings },
48 { "AwHttpAuthHandler", RegisterAwHttpAuthHandler }, 47 { "AwHttpAuthHandler", RegisterAwHttpAuthHandler },
49 { "AwMetricsServiceClient", RegisterAwMetricsServiceClient }, 48 { "AwMetricsServiceClient", RegisterAwMetricsServiceClient },
50 { "AwPdfExporter", RegisterAwPdfExporter }, 49 { "AwPdfExporter", RegisterAwPdfExporter },
51 { "AwPermissionRequest", RegisterAwPermissionRequest }, 50 { "AwPermissionRequest", RegisterAwPermissionRequest },
52 { "AwQuotaManagerBridge", RegisterAwQuotaManagerBridge }, 51 { "AwQuotaManagerBridge", RegisterAwQuotaManagerBridge },
53 { "AwWebContentsDelegate", RegisterAwWebContentsDelegate }, 52 { "AwWebContentsDelegate", RegisterAwWebContentsDelegate },
54 { "CookieManager", RegisterCookieManager }, 53 { "CookieManager", RegisterCookieManager },
55 { "AwMessagePortService", RegisterAwMessagePortService },
56 { "AwGLFunctor", RegisterAwGLFunctor }, 54 { "AwGLFunctor", RegisterAwGLFunctor },
57 #if defined(ENABLE_SPELLCHECK) 55 #if defined(ENABLE_SPELLCHECK)
58 {"SpellCheckerSessionBridge", spellcheck::android::RegisterSpellcheckJni}, 56 {"SpellCheckerSessionBridge", spellcheck::android::RegisterSpellcheckJni},
59 #endif 57 #endif
60 }; 58 };
61 59
62 bool RegisterJni(JNIEnv* env) { 60 bool RegisterJni(JNIEnv* env) {
63 TRACE_EVENT0("startup", "android_webview::RegisterJni"); 61 TRACE_EVENT0("startup", "android_webview::RegisterJni");
64 return RegisterNativeMethods(env, 62 return RegisterNativeMethods(env,
65 kWebViewRegisteredMethods, arraysize(kWebViewRegisteredMethods)); 63 kWebViewRegisteredMethods, arraysize(kWebViewRegisteredMethods));
66 } 64 }
67 65
68 } // namespace android_webview 66 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/native/BUILD.gn ('k') | android_webview/native/aw_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698