| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PASSWORD_GENERATION_POPUP_VIEW_ANDROI
D_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_ANDROI
D_H_ |
| 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_ANDROI
D_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_ANDROI
D_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 void UpdateBoundsAndRedrawPopup() override; | 49 void UpdateBoundsAndRedrawPopup() override; |
| 50 void PasswordSelectionUpdated() override; | 50 void PasswordSelectionUpdated() override; |
| 51 bool IsPointInPasswordBounds(const gfx::Point& point) override; | 51 bool IsPointInPasswordBounds(const gfx::Point& point) override; |
| 52 | 52 |
| 53 // Weak pointer to the controller. | 53 // Weak pointer to the controller. |
| 54 PasswordGenerationPopupController* controller_; | 54 PasswordGenerationPopupController* controller_; |
| 55 | 55 |
| 56 // The corresponding java object. | 56 // The corresponding java object. |
| 57 base::android::ScopedJavaGlobalRef<jobject> java_object_; | 57 base::android::ScopedJavaGlobalRef<jobject> java_object_; |
| 58 | 58 |
| 59 // Popup view to be anchored to the container. |
| 60 base::android::ScopedJavaGlobalRef<jobject> popup_; |
| 61 |
| 59 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationPopupViewAndroid); | 62 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationPopupViewAndroid); |
| 60 }; | 63 }; |
| 61 | 64 |
| 62 } // namespace autofill | 65 } // namespace autofill |
| 63 | 66 |
| 64 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_AND
ROID_H_ | 67 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_AND
ROID_H_ |
| OLD | NEW |