| 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 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_ |
| 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <stddef.h> | 9 #include <stddef.h> |
| 10 | 10 |
| 11 #include "base/android/scoped_java_ref.h" | 11 #include "base/android/scoped_java_ref.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "chrome/browser/ui/autofill/autofill_popup_view.h" | 14 #include "chrome/browser/ui/autofill/autofill_popup_view.h" |
| 15 #include "ui/android/view_android.h" | 15 #include "ui/android/view_android.h" |
| 16 | 16 |
| 17 namespace gfx { | |
| 18 class Rect; | |
| 19 } | |
| 20 | |
| 21 namespace autofill { | 17 namespace autofill { |
| 22 | 18 |
| 23 class AutofillPopupController; | 19 class AutofillPopupController; |
| 24 | 20 |
| 25 class AutofillPopupViewAndroid : public AutofillPopupView { | 21 class AutofillPopupViewAndroid : public AutofillPopupView { |
| 26 public: | 22 public: |
| 27 explicit AutofillPopupViewAndroid(AutofillPopupController* controller); | 23 explicit AutofillPopupViewAndroid(AutofillPopupController* controller); |
| 28 | 24 |
| 29 // -------------------------------------------------------------------------- | 25 // -------------------------------------------------------------------------- |
| 30 // Methods called from Java via JNI | 26 // Methods called from Java via JNI |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 63 |
| 68 // Popup view | 64 // Popup view |
| 69 ui::ViewAndroid::ScopedAnchorView popup_view_; | 65 ui::ViewAndroid::ScopedAnchorView popup_view_; |
| 70 | 66 |
| 71 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewAndroid); | 67 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewAndroid); |
| 72 }; | 68 }; |
| 73 | 69 |
| 74 } // namespace autofill | 70 } // namespace autofill |
| 75 | 71 |
| 76 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_ | 72 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_ |
| OLD | NEW |