Chromium Code Reviews| 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" | |
|
aurimas (slooooooooow)
2013/02/15 19:08:35
The matching *.h class always says on top. Should
apiccion
2013/02/26 23:51:51
Done.
| |
| 6 | |
| 7 #include "base/android/jni_android.h" | 5 #include "base/android/jni_android.h" |
| 8 #include "base/android/jni_registrar.h" | 6 #include "base/android/jni_registrar.h" |
| 7 | |
| 8 #include "chrome/browser/android/chrome_jni_registrar.h" | |
| 9 #include "chrome/browser/android/chrome_web_contents_delegate_android.h" | 9 #include "chrome/browser/android/chrome_web_contents_delegate_android.h" |
| 10 #include "chrome/browser/android/content_view_util.h" | 10 #include "chrome/browser/android/content_view_util.h" |
| 11 #include "chrome/browser/android/dev_tools_server.h" | 11 #include "chrome/browser/android/dev_tools_server.h" |
| 12 #include "chrome/browser/android/intent_helper.h" | 12 #include "chrome/browser/android/intent_helper.h" |
| 13 #include "chrome/browser/android/process_utils.h" | 13 #include "chrome/browser/android/process_utils.h" |
| 14 #include "chrome/browser/android/provider/chrome_browser_provider.h" | 14 #include "chrome/browser/android/provider/chrome_browser_provider.h" |
| 15 #include "chrome/browser/autofill/personal_data_manager_android.h" | |
| 15 #include "chrome/browser/history/android/sqlite_cursor.h" | 16 #include "chrome/browser/history/android/sqlite_cursor.h" |
| 16 #include "chrome/browser/lifetime/application_lifetime_android.h" | 17 #include "chrome/browser/lifetime/application_lifetime_android.h" |
| 17 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" | 18 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" |
| 18 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" | 19 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" |
| 19 #include "chrome/browser/ui/android/javascript_app_modal_dialog_android.h" | 20 #include "chrome/browser/ui/android/javascript_app_modal_dialog_android.h" |
| 20 #include "chrome/browser/ui/android/navigation_popup.h" | 21 #include "chrome/browser/ui/android/navigation_popup.h" |
| 21 #include "chrome/browser/ui/android/website_settings_popup_android.h" | 22 #include "chrome/browser/ui/android/website_settings_popup_android.h" |
| 22 #include "components/navigation_interception/component_jni_registrar.h" | 23 #include "components/navigation_interception/component_jni_registrar.h" |
| 23 #include "components/web_contents_delegate_android/component_jni_registrar.h" | 24 #include "components/web_contents_delegate_android/component_jni_registrar.h" |
| 24 | 25 |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 46 { "ContentViewUtil", RegisterContentViewUtil }, | 47 { "ContentViewUtil", RegisterContentViewUtil }, |
| 47 { "DevToolsServer", RegisterDevToolsServer }, | 48 { "DevToolsServer", RegisterDevToolsServer }, |
| 48 { "IntentHelper", RegisterIntentHelper }, | 49 { "IntentHelper", RegisterIntentHelper }, |
| 49 { "JavascriptAppModalDialog", | 50 { "JavascriptAppModalDialog", |
| 50 JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog }, | 51 JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog }, |
| 51 { "NavigationPopup", NavigationPopup::RegisterNavigationPopup }, | 52 { "NavigationPopup", NavigationPopup::RegisterNavigationPopup }, |
| 52 { "ProcessUtils", RegisterProcessUtils }, | 53 { "ProcessUtils", RegisterProcessUtils }, |
| 53 { "SqliteCursor", SQLiteCursor::RegisterSqliteCursor }, | 54 { "SqliteCursor", SQLiteCursor::RegisterSqliteCursor }, |
| 54 { "WebsiteSettingsPopupAndroid", | 55 { "WebsiteSettingsPopupAndroid", |
| 55 WebsiteSettingsPopupAndroid::RegisterWebsiteSettingsPopupAndroid }, | 56 WebsiteSettingsPopupAndroid::RegisterWebsiteSettingsPopupAndroid }, |
| 57 { "PersonalDataManagerAndroid", RegisterPersonalDataManager } | |
| 56 }; | 58 }; |
| 57 | 59 |
| 58 bool RegisterJni(JNIEnv* env) { | 60 bool RegisterJni(JNIEnv* env) { |
| 59 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 61 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
| 60 arraysize(kChromeRegisteredMethods)); | 62 arraysize(kChromeRegisteredMethods)); |
| 61 } | 63 } |
| 62 | 64 |
| 63 } // namespace android | 65 } // namespace android |
| 64 } // namespace chrome | 66 } // namespace chrome |
| OLD | NEW |