| 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/ui/android/autofill/autofill_popup_view_android.h" | 5 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.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/window_android_helper.h" | 10 #include "chrome/browser/ui/android/window_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 "components/autofill/core/browser/suggestion.h" | 12 #include "components/autofill/core/browser/suggestion.h" |
| 13 #include "content/public/browser/android/content_view_core.h" | 13 #include "content/public/browser/android/content_view_core.h" |
| 14 #include "jni/AutofillPopupBridge_jni.h" | 14 #include "jni/AutofillPopupBridge_jni.h" |
| 15 #include "ui/base/android/view_android.h" | 15 #include "ui/android/view_android.h" |
| 16 #include "ui/base/android/window_android.h" | 16 #include "ui/android/window_android.h" |
| 17 #include "ui/base/resource/resource_bundle.h" | 17 #include "ui/base/resource/resource_bundle.h" |
| 18 #include "ui/gfx/android/java_bitmap.h" | 18 #include "ui/gfx/android/java_bitmap.h" |
| 19 #include "ui/gfx/geometry/rect.h" | 19 #include "ui/gfx/geometry/rect.h" |
| 20 | 20 |
| 21 namespace autofill { | 21 namespace autofill { |
| 22 | 22 |
| 23 AutofillPopupViewAndroid::AutofillPopupViewAndroid( | 23 AutofillPopupViewAndroid::AutofillPopupViewAndroid( |
| 24 AutofillPopupController* controller) | 24 AutofillPopupController* controller) |
| 25 : controller_(controller) {} | 25 : controller_(controller) {} |
| 26 | 26 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 return RegisterNativesImpl(env); | 111 return RegisterNativesImpl(env); |
| 112 } | 112 } |
| 113 | 113 |
| 114 // static | 114 // static |
| 115 AutofillPopupView* AutofillPopupView::Create( | 115 AutofillPopupView* AutofillPopupView::Create( |
| 116 AutofillPopupController* controller) { | 116 AutofillPopupController* controller) { |
| 117 return new AutofillPopupViewAndroid(controller); | 117 return new AutofillPopupViewAndroid(controller); |
| 118 } | 118 } |
| 119 | 119 |
| 120 } // namespace autofill | 120 } // namespace autofill |
| OLD | NEW |