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

Side by Side Diff: chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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/ui/android/autofill/autofill_keyboard_accessory_view.h" 5 #include "chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_string.h" 8 #include "base/android/jni_string.h"
9 #include "chrome/browser/android/resource_mapper.h" 9 #include "chrome/browser/android/resource_mapper.h"
10 #include "chrome/browser/ui/android/view_android_helper.h" 10 #include "chrome/browser/ui/android/view_android_helper.h"
11 #include "chrome/browser/ui/autofill/autofill_popup_controller.h" 11 #include "chrome/browser/ui/autofill/autofill_popup_controller.h"
12 #include "chrome/browser/ui/autofill/autofill_popup_layout_model.h" 12 #include "chrome/browser/ui/autofill/autofill_popup_layout_model.h"
13 #include "components/autofill/core/browser/popup_item_ids.h" 13 #include "components/autofill/core/browser/popup_item_ids.h"
14 #include "components/autofill/core/browser/suggestion.h" 14 #include "components/autofill/core/browser/suggestion.h"
15 #include "grit/components_strings.h" 15 #include "grit/components_strings.h"
16 #include "jni/AutofillKeyboardAccessoryBridge_jni.h" 16 #include "jni/AutofillKeyboardAccessoryBridge_jni.h"
17 #include "ui/android/view_android.h" 17 #include "ui/android/view_android.h"
18 #include "ui/android/window_android.h" 18 #include "ui/android/window_android.h"
19 #include "ui/base/l10n/l10n_util.h" 19 #include "ui/base/l10n/l10n_util.h"
20 #include "ui/base/resource/resource_bundle.h" 20 #include "ui/base/resource/resource_bundle.h"
21 #include "ui/gfx/geometry/rect.h" 21 #include "ui/gfx/geometry/rect.h"
22 22
23 using base::android::JavaParamRef;
24 using base::android::ScopedJavaLocalRef;
25
23 namespace autofill { 26 namespace autofill {
24 27
25 namespace { 28 namespace {
26 29
27 void AddToJavaArray(const Suggestion& suggestion, 30 void AddToJavaArray(const Suggestion& suggestion,
28 int icon_id, 31 int icon_id,
29 JNIEnv* env, 32 JNIEnv* env,
30 jobjectArray data_array, 33 jobjectArray data_array,
31 size_t position, 34 size_t position,
32 bool deletable) { 35 bool deletable) {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void AutofillKeyboardAccessoryView::InvalidateRow(size_t) { 164 void AutofillKeyboardAccessoryView::InvalidateRow(size_t) {
162 } 165 }
163 166
164 // static 167 // static
165 bool AutofillKeyboardAccessoryView::RegisterAutofillKeyboardAccessoryView( 168 bool AutofillKeyboardAccessoryView::RegisterAutofillKeyboardAccessoryView(
166 JNIEnv* env) { 169 JNIEnv* env) {
167 return RegisterNativesImpl(env); 170 return RegisterNativesImpl(env);
168 } 171 }
169 172
170 } // namespace autofill 173 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_android.cc ('k') | chrome/browser/ui/android/autofill/autofill_logger_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698