| 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/android/view_android.h" | 13 #include "ui/base/android/view_android.h" |
| 14 #include "ui/android/window_android.h" | 14 #include "ui/base/android/window_android.h" |
| 15 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/rect.h" |
| 16 | 16 |
| 17 namespace autofill { | 17 namespace autofill { |
| 18 | 18 |
| 19 AutofillPopupViewAndroid::AutofillPopupViewAndroid( | 19 AutofillPopupViewAndroid::AutofillPopupViewAndroid( |
| 20 AutofillPopupController* controller) | 20 AutofillPopupController* controller) |
| 21 : controller_(controller) {} | 21 : controller_(controller) {} |
| 22 | 22 |
| 23 AutofillPopupViewAndroid::~AutofillPopupViewAndroid() {} | 23 AutofillPopupViewAndroid::~AutofillPopupViewAndroid() {} |
| 24 | 24 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 return RegisterNativesImpl(env); | 93 return RegisterNativesImpl(env); |
| 94 } | 94 } |
| 95 | 95 |
| 96 // static | 96 // static |
| 97 AutofillPopupView* AutofillPopupView::Create( | 97 AutofillPopupView* AutofillPopupView::Create( |
| 98 AutofillPopupController* controller) { | 98 AutofillPopupController* controller) { |
| 99 return new AutofillPopupViewAndroid(controller); | 99 return new AutofillPopupViewAndroid(controller); |
| 100 } | 100 } |
| 101 | 101 |
| 102 } // namespace autofill | 102 } // namespace autofill |
| OLD | NEW |