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

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

Issue 1082183002: Android - Introduce "keyboard accessory" for Autofill suggestions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more dtrainor review Created 5 years, 8 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/android/accessibility/font_size_prefs_android.h" 10 #include "chrome/browser/android/accessibility/font_size_prefs_android.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 #include "chrome/browser/prerender/external_prerender_handler_android.h" 74 #include "chrome/browser/prerender/external_prerender_handler_android.h"
75 #include "chrome/browser/profiles/profile_android.h" 75 #include "chrome/browser/profiles/profile_android.h"
76 #include "chrome/browser/search_engines/template_url_service_android.h" 76 #include "chrome/browser/search_engines/template_url_service_android.h"
77 #include "chrome/browser/signin/android_profile_oauth2_token_service.h" 77 #include "chrome/browser/signin/android_profile_oauth2_token_service.h"
78 #include "chrome/browser/speech/tts_android.h" 78 #include "chrome/browser/speech/tts_android.h"
79 #include "chrome/browser/supervised_user/child_accounts/child_account_feedback_r eporter_android.h" 79 #include "chrome/browser/supervised_user/child_accounts/child_account_feedback_r eporter_android.h"
80 #include "chrome/browser/supervised_user/child_accounts/child_account_service_an droid.h" 80 #include "chrome/browser/supervised_user/child_accounts/child_account_service_an droid.h"
81 #include "chrome/browser/sync/profile_sync_service_android.h" 81 #include "chrome/browser/sync/profile_sync_service_android.h"
82 #include "chrome/browser/ui/android/autofill/autofill_dialog_controller_android. h" 82 #include "chrome/browser/ui/android/autofill/autofill_dialog_controller_android. h"
83 #include "chrome/browser/ui/android/autofill/autofill_dialog_result.h" 83 #include "chrome/browser/ui/android/autofill/autofill_dialog_result.h"
84 #include "chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h"
84 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h" 85 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h"
85 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" 86 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h"
86 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h" 87 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h"
87 #include "chrome/browser/ui/android/autofill/credit_card_scanner_view_android.h" 88 #include "chrome/browser/ui/android/autofill/credit_card_scanner_view_android.h"
88 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr oid.h" 89 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr oid.h"
89 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" 90 #include "chrome/browser/ui/android/chrome_http_auth_handler.h"
90 #include "chrome/browser/ui/android/context_menu_helper.h" 91 #include "chrome/browser/ui/android/context_menu_helper.h"
91 #include "chrome/browser/ui/android/infobars/account_chooser_infobar.h" 92 #include "chrome/browser/ui/android/infobars/account_chooser_infobar.h"
92 #include "chrome/browser/ui/android/infobars/app_banner_infobar.h" 93 #include "chrome/browser/ui/android/infobars/app_banner_infobar.h"
93 #include "chrome/browser/ui/android/infobars/confirm_infobar.h" 94 #include "chrome/browser/ui/android/infobars/confirm_infobar.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 {"AppBannerInfoBar", RegisterAppBannerInfoBar}, 146 {"AppBannerInfoBar", RegisterAppBannerInfoBar},
146 {"AppBannerInfoBarDelegate", banners::RegisterAppBannerInfoBarDelegate}, 147 {"AppBannerInfoBarDelegate", banners::RegisterAppBannerInfoBarDelegate},
147 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register}, 148 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register},
148 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid}, 149 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid},
149 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid}, 150 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid},
150 {"AutofillDialogControllerAndroid", 151 {"AutofillDialogControllerAndroid",
151 autofill::AutofillDialogControllerAndroid:: 152 autofill::AutofillDialogControllerAndroid::
152 RegisterAutofillDialogControllerAndroid}, 153 RegisterAutofillDialogControllerAndroid},
153 {"AutofillDialogResult", 154 {"AutofillDialogResult",
154 autofill::AutofillDialogResult::RegisterAutofillDialogResult}, 155 autofill::AutofillDialogResult::RegisterAutofillDialogResult},
156 {"AutofillKeyboardAccessory",
157 autofill::AutofillKeyboardAccessoryView::
158 RegisterAutofillKeyboardAccessoryView},
155 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, 159 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register},
156 {"AutofillPopup", 160 {"AutofillPopup",
157 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, 161 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid},
158 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, 162 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge},
159 {"BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge}, 163 {"BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge},
160 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, 164 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register},
161 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter}, 165 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter},
162 {"ChildAccountService", RegisterChildAccountService}, 166 {"ChildAccountService", RegisterChildAccountService},
163 {"ChromeBrowserProvider", 167 {"ChromeBrowserProvider",
164 ChromeBrowserProvider::RegisterChromeBrowserProvider}, 168 ChromeBrowserProvider::RegisterChromeBrowserProvider},
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 }; 272 };
269 273
270 bool RegisterBrowserJNI(JNIEnv* env) { 274 bool RegisterBrowserJNI(JNIEnv* env) {
271 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 275 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
272 return RegisterNativeMethods(env, kChromeRegisteredMethods, 276 return RegisterNativeMethods(env, kChromeRegisteredMethods,
273 arraysize(kChromeRegisteredMethods)); 277 arraysize(kChromeRegisteredMethods));
274 } 278 }
275 279
276 } // namespace android 280 } // namespace android
277 } // namespace chrome 281 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698