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

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

Issue 606153002: [android] Password generation UI for android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unify default text color. Use integers instead of enums. Simplify delegate. Created 6 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
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/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "chrome/browser/android/accessibility/font_size_prefs_android.h" 10 #include "chrome/browser/android/accessibility/font_size_prefs_android.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "chrome/browser/prerender/external_prerender_handler_android.h" 49 #include "chrome/browser/prerender/external_prerender_handler_android.h"
50 #include "chrome/browser/profiles/profile_android.h" 50 #include "chrome/browser/profiles/profile_android.h"
51 #include "chrome/browser/search_engines/template_url_service_android.h" 51 #include "chrome/browser/search_engines/template_url_service_android.h"
52 #include "chrome/browser/signin/android_profile_oauth2_token_service.h" 52 #include "chrome/browser/signin/android_profile_oauth2_token_service.h"
53 #include "chrome/browser/speech/tts_android.h" 53 #include "chrome/browser/speech/tts_android.h"
54 #include "chrome/browser/sync/profile_sync_service_android.h" 54 #include "chrome/browser/sync/profile_sync_service_android.h"
55 #include "chrome/browser/ui/android/autofill/autofill_dialog_controller_android. h" 55 #include "chrome/browser/ui/android/autofill/autofill_dialog_controller_android. h"
56 #include "chrome/browser/ui/android/autofill/autofill_dialog_result.h" 56 #include "chrome/browser/ui/android/autofill/autofill_dialog_result.h"
57 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h" 57 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h"
58 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" 58 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h"
59 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr oid.h"
59 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" 60 #include "chrome/browser/ui/android/chrome_http_auth_handler.h"
60 #include "chrome/browser/ui/android/context_menu_helper.h" 61 #include "chrome/browser/ui/android/context_menu_helper.h"
61 #include "chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android .h" 62 #include "chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android .h"
62 #include "chrome/browser/ui/android/infobars/confirm_infobar.h" 63 #include "chrome/browser/ui/android/infobars/confirm_infobar.h"
63 #include "chrome/browser/ui/android/infobars/data_reduction_proxy_infobar.h" 64 #include "chrome/browser/ui/android/infobars/data_reduction_proxy_infobar.h"
64 #include "chrome/browser/ui/android/infobars/infobar_android.h" 65 #include "chrome/browser/ui/android/infobars/infobar_android.h"
65 #include "chrome/browser/ui/android/infobars/infobar_container_android.h" 66 #include "chrome/browser/ui/android/infobars/infobar_container_android.h"
66 #include "chrome/browser/ui/android/infobars/translate_infobar.h" 67 #include "chrome/browser/ui/android/infobars/translate_infobar.h"
67 #include "chrome/browser/ui/android/javascript_app_modal_dialog_android.h" 68 #include "chrome/browser/ui/android/javascript_app_modal_dialog_android.h"
68 #include "chrome/browser/ui/android/navigation_popup.h" 69 #include "chrome/browser/ui/android/navigation_popup.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 { "JavascriptAppModalDialog", 158 { "JavascriptAppModalDialog",
158 JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog }, 159 JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog },
159 { "LogoBridge", RegisterLogoBridge }, 160 { "LogoBridge", RegisterLogoBridge },
160 { "MostVisitedSites", MostVisitedSites::Register }, 161 { "MostVisitedSites", MostVisitedSites::Register },
161 { "NativeInfoBar", RegisterNativeInfoBar }, 162 { "NativeInfoBar", RegisterNativeInfoBar },
162 { "NavigationPopup", NavigationPopup::RegisterNavigationPopup }, 163 { "NavigationPopup", NavigationPopup::RegisterNavigationPopup },
163 { "NewTabPagePrefs", 164 { "NewTabPagePrefs",
164 NewTabPagePrefs::RegisterNewTabPagePrefs }, 165 NewTabPagePrefs::RegisterNewTabPagePrefs },
165 { "OmniboxPrerender", RegisterOmniboxPrerender }, 166 { "OmniboxPrerender", RegisterOmniboxPrerender },
166 { "OmniboxViewUtil", OmniboxViewUtil::RegisterOmniboxViewUtil }, 167 { "OmniboxViewUtil", OmniboxViewUtil::RegisterOmniboxViewUtil },
168 { "PasswordGenerationPopup",
169 autofill::PasswordGenerationPopupViewAndroid::Register},
167 { "PasswordUIViewAndroid", 170 { "PasswordUIViewAndroid",
168 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid }, 171 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid },
169 { "PersonalDataManagerAndroid", 172 { "PersonalDataManagerAndroid",
170 autofill::PersonalDataManagerAndroid::Register }, 173 autofill::PersonalDataManagerAndroid::Register },
171 { "ProfileAndroid", ProfileAndroid::RegisterProfileAndroid }, 174 { "ProfileAndroid", ProfileAndroid::RegisterProfileAndroid },
172 { "ProfileDownloaderAndroid", ProfileDownloaderAndroid::Register }, 175 { "ProfileDownloaderAndroid", ProfileDownloaderAndroid::Register },
173 { "ProfileSyncService", ProfileSyncServiceAndroid::Register }, 176 { "ProfileSyncService", ProfileSyncServiceAndroid::Register },
174 { "RecentlyClosedBridge", RecentlyClosedTabsBridge::Register }, 177 { "RecentlyClosedBridge", RecentlyClosedTabsBridge::Register },
175 { "SigninManager", SigninManagerAndroid::Register }, 178 { "SigninManager", SigninManagerAndroid::Register },
176 { "SqliteCursor", SQLiteCursor::RegisterSqliteCursor }, 179 { "SqliteCursor", SQLiteCursor::RegisterSqliteCursor },
(...skipping 22 matching lines...) Expand all
199 }; 202 };
200 203
201 bool RegisterJni(JNIEnv* env) { 204 bool RegisterJni(JNIEnv* env) {
202 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 205 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
203 return RegisterNativeMethods(env, kChromeRegisteredMethods, 206 return RegisterNativeMethods(env, kChromeRegisteredMethods,
204 arraysize(kChromeRegisteredMethods)); 207 arraysize(kChromeRegisteredMethods));
205 } 208 }
206 209
207 } // namespace android 210 } // namespace android
208 } // namespace chrome 211 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698