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

Side by Side Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 1275813002: Implemented typo recognition in Chrome for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@4_remove_mac_redundancies
Patch Set: Several style changes Created 5 years, 4 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
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 "chrome/browser/android/chrome_jni_registrar.h" 5 #include "chrome/browser/android/chrome_jni_registrar.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h" 8 #include "base/android/jni_registrar.h"
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "chrome/browser/after_startup_task_utils_android.h" 10 #include "chrome/browser/after_startup_task_utils_android.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 #include "chrome/browser/media/android/router/media_router_dialog_controller_and roid.h" 88 #include "chrome/browser/media/android/router/media_router_dialog_controller_and roid.h"
89 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h" 89 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h"
90 #include "chrome/browser/notifications/notification_ui_manager_android.h" 90 #include "chrome/browser/notifications/notification_ui_manager_android.h"
91 #include "chrome/browser/password_manager/credential_android.h" 91 #include "chrome/browser/password_manager/credential_android.h"
92 #include "chrome/browser/permissions/permission_update_infobar_delegate_android. h" 92 #include "chrome/browser/permissions/permission_update_infobar_delegate_android. h"
93 #include "chrome/browser/prerender/external_prerender_handler_android.h" 93 #include "chrome/browser/prerender/external_prerender_handler_android.h"
94 #include "chrome/browser/profiles/profile_android.h" 94 #include "chrome/browser/profiles/profile_android.h"
95 #include "chrome/browser/search_engines/template_url_service_android.h" 95 #include "chrome/browser/search_engines/template_url_service_android.h"
96 #include "chrome/browser/signin/oauth2_token_service_delegate_android.h" 96 #include "chrome/browser/signin/oauth2_token_service_delegate_android.h"
97 #include "chrome/browser/speech/tts_android.h" 97 #include "chrome/browser/speech/tts_android.h"
98 #include "chrome/browser/spellchecker/spellchecker_session_bridge_android.h"
98 #include "chrome/browser/ssl/connection_security_android.h" 99 #include "chrome/browser/ssl/connection_security_android.h"
99 #include "chrome/browser/supervised_user/child_accounts/child_account_feedback_r eporter_android.h" 100 #include "chrome/browser/supervised_user/child_accounts/child_account_feedback_r eporter_android.h"
100 #include "chrome/browser/supervised_user/child_accounts/child_account_service_an droid.h" 101 #include "chrome/browser/supervised_user/child_accounts/child_account_service_an droid.h"
101 #include "chrome/browser/sync/profile_sync_service_android.h" 102 #include "chrome/browser/sync/profile_sync_service_android.h"
102 #include "chrome/browser/ui/android/autofill/autofill_dialog_controller_android. h" 103 #include "chrome/browser/ui/android/autofill/autofill_dialog_controller_android. h"
103 #include "chrome/browser/ui/android/autofill/autofill_dialog_result.h" 104 #include "chrome/browser/ui/android/autofill/autofill_dialog_result.h"
104 #include "chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h" 105 #include "chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h"
105 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h" 106 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h"
106 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" 107 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h"
107 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h" 108 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter}, 195 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter},
195 {"ChildAccountService", RegisterChildAccountService}, 196 {"ChildAccountService", RegisterChildAccountService},
196 {"ChromeApplication", ChromeApplication::RegisterBindings}, 197 {"ChromeApplication", ChromeApplication::RegisterBindings},
197 {"ChromeBrowserProvider", 198 {"ChromeBrowserProvider",
198 ChromeBrowserProvider::RegisterChromeBrowserProvider}, 199 ChromeBrowserProvider::RegisterChromeBrowserProvider},
199 {"ChromeHttpAuthHandler", 200 {"ChromeHttpAuthHandler",
200 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler}, 201 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler},
201 #if defined(ENABLE_MEDIA_ROUTER) 202 #if defined(ENABLE_MEDIA_ROUTER)
202 {"ChromeMediaRouter", media_router::MediaRouterAndroid::Register}, 203 {"ChromeMediaRouter", media_router::MediaRouterAndroid::Register},
203 {"ChromeMediaRouterDialogController", 204 {"ChromeMediaRouterDialogController",
204 media_router::MediaRouterDialogControllerAndroid::Register}, 205 media_router::MediaRouterDialogControllerAndroid::Register},
205 #endif 206 #endif
206 {"ChromeWebContentsDelegateAndroid", 207 {"ChromeWebContentsDelegateAndroid",
207 RegisterChromeWebContentsDelegateAndroid}, 208 RegisterChromeWebContentsDelegateAndroid},
208 {"CompositorView", RegisterCompositorView}, 209 {"CompositorView", RegisterCompositorView},
209 {"ConfirmInfoBarDelegate", RegisterConfirmInfoBarDelegate}, 210 {"ConfirmInfoBarDelegate", RegisterConfirmInfoBarDelegate},
210 {"ConnectionInfoPopupAndroid", 211 {"ConnectionInfoPopupAndroid",
211 ConnectionInfoPopupAndroid::RegisterConnectionInfoPopupAndroid}, 212 ConnectionInfoPopupAndroid::RegisterConnectionInfoPopupAndroid},
212 {"ConnectionSecurity", RegisterConnectionSecurityAndroid}, 213 {"ConnectionSecurity", RegisterConnectionSecurityAndroid},
213 {"ConnectivityChecker", RegisterConnectivityChecker}, 214 {"ConnectivityChecker", RegisterConnectivityChecker},
214 {"ContextMenuHelper", RegisterContextMenuHelper}, 215 {"ContextMenuHelper", RegisterContextMenuHelper},
215 {"ContextualSearchManager", RegisterContextualSearchManager}, 216 {"ContextualSearchManager", RegisterContextualSearchManager},
216 {"ContextualSearchSceneLayer", RegisterContextualSearchSceneLayer}, 217 {"ContextualSearchSceneLayer", RegisterContextualSearchSceneLayer},
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register}, 290 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register},
290 {"RecordCastAction", remote_media::RegisterRecordCastAction}, 291 {"RecordCastAction", remote_media::RegisterRecordCastAction},
291 {"RemoteMediaPlayerBridge", 292 {"RemoteMediaPlayerBridge",
292 remote_media::RemoteMediaPlayerBridge::RegisterRemoteMediaPlayerBridge}, 293 remote_media::RemoteMediaPlayerBridge::RegisterRemoteMediaPlayerBridge},
293 {"RevenueStats", RegisterRevenueStats}, 294 {"RevenueStats", RegisterRevenueStats},
294 {"SavePasswordInfoBar", SavePasswordInfoBar::Register}, 295 {"SavePasswordInfoBar", SavePasswordInfoBar::Register},
295 {"SceneLayer", chrome::android::RegisterSceneLayer}, 296 {"SceneLayer", chrome::android::RegisterSceneLayer},
296 {"ServiceTabLauncher", service_tab_launcher::RegisterServiceTabLauncherJni}, 297 {"ServiceTabLauncher", service_tab_launcher::RegisterServiceTabLauncherJni},
297 {"SigninManager", SigninManagerAndroid::Register}, 298 {"SigninManager", SigninManagerAndroid::Register},
298 {"SingleTabModel", RegisterSingleTabModel}, 299 {"SingleTabModel", RegisterSingleTabModel},
300 {"SpellCheckerSessionBridge", SpellCheckerSessionBridge::RegisterJNI},
299 {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor}, 301 {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor},
300 {"SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid}, 302 {"SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid},
301 {"StartupMetricUtils", RegisterStartupMetricUtils}, 303 {"StartupMetricUtils", RegisterStartupMetricUtils},
302 {"StaticTabSceneLayer", chrome::android::RegisterStaticTabSceneLayer}, 304 {"StaticTabSceneLayer", chrome::android::RegisterStaticTabSceneLayer},
303 {"Sync", syncer::RegisterSyncJni}, 305 {"Sync", syncer::RegisterSyncJni},
304 {"TabAndroid", TabAndroid::RegisterTabAndroid}, 306 {"TabAndroid", TabAndroid::RegisterTabAndroid},
305 {"TabContentManager", chrome::android::RegisterTabContentManager}, 307 {"TabContentManager", chrome::android::RegisterTabContentManager},
306 {"TabListSceneLayer", RegisterTabListSceneLayer}, 308 {"TabListSceneLayer", RegisterTabListSceneLayer},
307 {"TabModelJniBridge", TabModelJniBridge::Register}, 309 {"TabModelJniBridge", TabModelJniBridge::Register},
308 {"TabState", RegisterTabState}, 310 {"TabState", RegisterTabState},
(...skipping 19 matching lines...) Expand all
328 }; 330 };
329 331
330 bool RegisterBrowserJNI(JNIEnv* env) { 332 bool RegisterBrowserJNI(JNIEnv* env) {
331 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 333 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
332 return RegisterNativeMethods(env, kChromeRegisteredMethods, 334 return RegisterNativeMethods(env, kChromeRegisteredMethods,
333 arraysize(kChromeRegisteredMethods)); 335 arraysize(kChromeRegisteredMethods));
334 } 336 }
335 337
336 } // namespace android 338 } // namespace android
337 } // namespace chrome 339 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698