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 "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/macros.h" | 9 #include "base/macros.h" |
10 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_
layer.h" | 28 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_
layer.h" |
29 #include "chrome/browser/android/compositor/scene_layer/reader_mode_scene_layer.
h" | 29 #include "chrome/browser/android/compositor/scene_layer/reader_mode_scene_layer.
h" |
30 #include "chrome/browser/android/compositor/scene_layer/scene_layer.h" | 30 #include "chrome/browser/android/compositor/scene_layer/scene_layer.h" |
31 #include "chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.h
" | 31 #include "chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.h
" |
32 #include "chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.h" | 32 #include "chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.h" |
33 #include "chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.h" | 33 #include "chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.h" |
34 #include "chrome/browser/android/compositor/scene_layer/toolbar_scene_layer.h" | 34 #include "chrome/browser/android/compositor/scene_layer/toolbar_scene_layer.h" |
35 #include "chrome/browser/android/compositor/tab_content_manager.h" | 35 #include "chrome/browser/android/compositor/tab_content_manager.h" |
36 #include "chrome/browser/android/contextualsearch/contextual_search_manager.h" | 36 #include "chrome/browser/android/contextualsearch/contextual_search_manager.h" |
37 #include "chrome/browser/android/contextualsearch/contextual_search_tab_helper.h
" | 37 #include "chrome/browser/android/contextualsearch/contextual_search_tab_helper.h
" |
| 38 #include "chrome/browser/android/contextualsearch/search_action.h" |
38 #include "chrome/browser/android/cookies/cookies_fetcher.h" | 39 #include "chrome/browser/android/cookies/cookies_fetcher.h" |
39 #include "chrome/browser/android/data_usage/data_use_tab_ui_manager_android.h" | 40 #include "chrome/browser/android/data_usage/data_use_tab_ui_manager_android.h" |
40 #include "chrome/browser/android/data_usage/external_data_use_observer_bridge.h" | 41 #include "chrome/browser/android/data_usage/external_data_use_observer_bridge.h" |
41 #include "chrome/browser/android/dev_tools_server.h" | 42 #include "chrome/browser/android/dev_tools_server.h" |
42 #include "chrome/browser/android/document/document_web_contents_delegate.h" | 43 #include "chrome/browser/android/document/document_web_contents_delegate.h" |
43 #include "chrome/browser/android/dom_distiller/distiller_ui_handle_android.h" | 44 #include "chrome/browser/android/dom_distiller/distiller_ui_handle_android.h" |
44 #include "chrome/browser/android/download/chrome_download_delegate.h" | 45 #include "chrome/browser/android/download/chrome_download_delegate.h" |
45 #include "chrome/browser/android/download/download_controller.h" | 46 #include "chrome/browser/android/download/download_controller.h" |
46 #include "chrome/browser/android/download/download_manager_service.h" | 47 #include "chrome/browser/android/download/download_manager_service.h" |
47 #include "chrome/browser/android/favicon_helper.h" | 48 #include "chrome/browser/android/favicon_helper.h" |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 {"ProfileDownloader", RegisterProfileDownloader}, | 312 {"ProfileDownloader", RegisterProfileDownloader}, |
312 {"ProfileSyncService", ProfileSyncServiceAndroid::Register}, | 313 {"ProfileSyncService", ProfileSyncServiceAndroid::Register}, |
313 {"RapporServiceBridge", rappor::RegisterRapporServiceBridge}, | 314 {"RapporServiceBridge", rappor::RegisterRapporServiceBridge}, |
314 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register}, | 315 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register}, |
315 {"RecordCastAction", remote_media::RegisterRecordCastAction}, | 316 {"RecordCastAction", remote_media::RegisterRecordCastAction}, |
316 {"ReaderModeSceneLayer", RegisterReaderModeSceneLayer}, | 317 {"ReaderModeSceneLayer", RegisterReaderModeSceneLayer}, |
317 {"RemoteMediaPlayerBridge", | 318 {"RemoteMediaPlayerBridge", |
318 remote_media::RemoteMediaPlayerBridge::RegisterRemoteMediaPlayerBridge}, | 319 remote_media::RemoteMediaPlayerBridge::RegisterRemoteMediaPlayerBridge}, |
319 {"RevenueStats", RegisterRevenueStats}, | 320 {"RevenueStats", RegisterRevenueStats}, |
320 {"SafeBrowsingApiBridge", safe_browsing::RegisterSafeBrowsingApiBridge}, | 321 {"SafeBrowsingApiBridge", safe_browsing::RegisterSafeBrowsingApiBridge}, |
| 322 {"SearchAction", RegisterSearchAction}, |
321 {"SceneLayer", chrome::android::RegisterSceneLayer}, | 323 {"SceneLayer", chrome::android::RegisterSceneLayer}, |
322 {"ScreenshotTask", RegisterScreenshotTask}, | 324 {"ScreenshotTask", RegisterScreenshotTask}, |
323 {"ServiceTabLauncher", ServiceTabLauncher::Register}, | 325 {"ServiceTabLauncher", ServiceTabLauncher::Register}, |
324 {"SessionTabHelper", RegisterSessionTabHelper}, | 326 {"SessionTabHelper", RegisterSessionTabHelper}, |
325 {"SigninInvestigator", SigninInvestigatorAndroid::Register}, | 327 {"SigninInvestigator", SigninInvestigatorAndroid::Register}, |
326 {"SigninManager", SigninManagerAndroid::Register}, | 328 {"SigninManager", SigninManagerAndroid::Register}, |
327 {"SingleTabModel", RegisterSingleTabModel}, | 329 {"SingleTabModel", RegisterSingleTabModel}, |
328 {"SpellCheckerSessionBridge", SpellCheckerSessionBridge::RegisterJNI}, | 330 {"SpellCheckerSessionBridge", SpellCheckerSessionBridge::RegisterJNI}, |
329 {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor}, | 331 {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor}, |
330 {"SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid}, | 332 {"SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid}, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 }; | 366 }; |
365 | 367 |
366 bool RegisterBrowserJNI(JNIEnv* env) { | 368 bool RegisterBrowserJNI(JNIEnv* env) { |
367 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 369 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
368 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 370 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
369 arraysize(kChromeRegisteredMethods)); | 371 arraysize(kChromeRegisteredMethods)); |
370 } | 372 } |
371 | 373 |
372 } // namespace android | 374 } // namespace android |
373 } // namespace chrome | 375 } // namespace chrome |
OLD | NEW |