Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: chrome/browser/ui/android/autofill/password_generation_popup_view_android.h

Issue 2103243002: Factor out ContentViewAndroidDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/autofill/password_generation_popup_view_android.h
diff --git a/chrome/browser/ui/android/autofill/password_generation_popup_view_android.h b/chrome/browser/ui/android/autofill/password_generation_popup_view_android.h
index 530214f3f693b08475afe1a94a49ffe00ea8248f..be5e69df3d801e07ad39725ab9b12766aefeb681 100644
--- a/chrome/browser/ui/android/autofill/password_generation_popup_view_android.h
+++ b/chrome/browser/ui/android/autofill/password_generation_popup_view_android.h
@@ -11,6 +11,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "chrome/browser/ui/autofill/password_generation_popup_view.h"
+#include "ui/android/view_android.h"
namespace autofill {
@@ -30,6 +31,7 @@ class PasswordGenerationPopupViewAndroid : public PasswordGenerationPopupView {
// Called from JNI when the popup was dismissed.
void Dismissed(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
+ void DismissedInternal();
// Called from JNI when the suggested password was selected.
void PasswordSelected(JNIEnv* env,
@@ -56,6 +58,9 @@ class PasswordGenerationPopupViewAndroid : public PasswordGenerationPopupView {
// The corresponding java object.
base::android::ScopedJavaGlobalRef<jobject> java_object_;
+ // Popup view to be anchored to the container.
+ ui::ViewAndroid::ScopedAnchorView popup_;
+
DISALLOW_COPY_AND_ASSIGN(PasswordGenerationPopupViewAndroid);
};

Powered by Google App Engine
This is Rietveld 408576698