| OLD | NEW |
| 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 "components/strings/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; | 23 using base::android::JavaParamRef; |
| 24 using base::android::ScopedJavaLocalRef; | 24 using base::android::ScopedJavaLocalRef; |
| 25 | 25 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 void AutofillKeyboardAccessoryView::InvalidateRow(size_t) { | 163 void AutofillKeyboardAccessoryView::InvalidateRow(size_t) { |
| 164 } | 164 } |
| 165 | 165 |
| 166 // static | 166 // static |
| 167 bool AutofillKeyboardAccessoryView::RegisterAutofillKeyboardAccessoryView( | 167 bool AutofillKeyboardAccessoryView::RegisterAutofillKeyboardAccessoryView( |
| 168 JNIEnv* env) { | 168 JNIEnv* env) { |
| 169 return RegisterNativesImpl(env); | 169 return RegisterNativesImpl(env); |
| 170 } | 170 } |
| 171 | 171 |
| 172 } // namespace autofill | 172 } // namespace autofill |
| OLD | NEW |