| 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_KEYBOARD_ACCESSORY_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_KEYBOARD_ACCESSORY_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_KEYBOARD_ACCESSORY_VIEW_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_KEYBOARD_ACCESSORY_VIEW_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <stddef.h> | 9 #include <stddef.h> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/android/scoped_java_ref.h" | 12 #include "base/android/scoped_java_ref.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "chrome/browser/ui/autofill/autofill_popup_view.h" | 15 #include "chrome/browser/ui/autofill/autofill_popup_view.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 // A suggestion view that acts as an alternative to the field-attached popup | 21 // A suggestion view that acts as an alternative to the field-attached popup |
| 26 // window. This view appears above the keyboard and spans the width of the | 22 // window. This view appears above the keyboard and spans the width of the |
| 27 // screen, condensing rather than overlaying the content area. Enable via | 23 // screen, condensing rather than overlaying the content area. Enable via |
| 28 // --enable-autofill-keyboard-accessory-view. | 24 // --enable-autofill-keyboard-accessory-view. |
| 29 class AutofillKeyboardAccessoryView : public AutofillPopupView { | 25 class AutofillKeyboardAccessoryView : public AutofillPopupView { |
| 30 public: | 26 public: |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 67 |
| 72 // The corresponding java object. | 68 // The corresponding java object. |
| 73 base::android::ScopedJavaGlobalRef<jobject> java_object_; | 69 base::android::ScopedJavaGlobalRef<jobject> java_object_; |
| 74 | 70 |
| 75 DISALLOW_COPY_AND_ASSIGN(AutofillKeyboardAccessoryView); | 71 DISALLOW_COPY_AND_ASSIGN(AutofillKeyboardAccessoryView); |
| 76 }; | 72 }; |
| 77 | 73 |
| 78 } // namespace autofill | 74 } // namespace autofill |
| 79 | 75 |
| 80 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_KEYBOARD_ACCESSORY_VIEW_H
_ | 76 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_KEYBOARD_ACCESSORY_VIEW_H
_ |
| OLD | NEW |