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

Unified Diff: chrome/browser/ui/views/autofill/autofill_popup_view_views.cc

Issue 870833002: [android] Autofill popup behavior fixes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update expectations of old test and add a new test. Created 5 years, 11 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/views/autofill/autofill_popup_view_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc b/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc
index f3cb3507fd6cb92e513150458024225cea0073cb..49735e93aec5dc081b2cd4544aadc4f7c480747d 100644
--- a/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc
@@ -21,8 +21,8 @@
namespace autofill {
AutofillPopupViewViews::AutofillPopupViewViews(
- AutofillPopupController* controller, views::Widget* observing_widget)
- : AutofillPopupBaseView(controller, observing_widget),
+ AutofillPopupController* controller, views::FocusManager* focus_manager)
+ : AutofillPopupBaseView(controller, focus_manager),
controller_(controller) {}
AutofillPopupViewViews::~AutofillPopupViewViews() {}
@@ -137,7 +137,8 @@ AutofillPopupView* AutofillPopupView::Create(
if (!observing_widget)
return NULL;
- return new AutofillPopupViewViews(controller, observing_widget);
+ return new AutofillPopupViewViews(controller,
+ observing_widget->GetFocusManager());
}
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698