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/ui/android/window_android_helper.h" | 9 #include "chrome/browser/ui/android/window_android_helper.h" |
10 #include "chrome/browser/ui/autofill/autofill_popup_controller.h" | 10 #include "chrome/browser/ui/autofill/autofill_popup_controller.h" |
11 #include "content/public/browser/android/content_view_core.h" | 11 #include "content/public/browser/android/content_view_core.h" |
12 #include "jni/AutofillPopupGlue_jni.h" | 12 #include "jni/AutofillPopupGlue_jni.h" |
13 #include "ui/gfx/android/window_android.h" | 13 #include "ui/android/window_android.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
15 | 15 |
16 using base::android::MethodID; | 16 using base::android::MethodID; |
17 | 17 |
18 namespace autofill { | 18 namespace autofill { |
19 | 19 |
20 AutofillPopupViewAndroid::AutofillPopupViewAndroid( | 20 AutofillPopupViewAndroid::AutofillPopupViewAndroid( |
21 AutofillPopupController* controller) | 21 AutofillPopupController* controller) |
22 : controller_(controller) {} | 22 : controller_(controller) {} |
23 | 23 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 return RegisterNativesImpl(env); | 98 return RegisterNativesImpl(env); |
99 } | 99 } |
100 | 100 |
101 // static | 101 // static |
102 AutofillPopupView* AutofillPopupView::Create( | 102 AutofillPopupView* AutofillPopupView::Create( |
103 AutofillPopupController* controller) { | 103 AutofillPopupController* controller) { |
104 return new AutofillPopupViewAndroid(controller); | 104 return new AutofillPopupViewAndroid(controller); |
105 } | 105 } |
106 | 106 |
107 } // namespace autofill | 107 } // namespace autofill |
OLD | NEW |