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

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

Issue 171783003: rAc: partial revert of 251484 to show correct sections in views dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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_dialog_view_tester_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc
index bac6ac5729af18d238135a9e466b5e37a5834137..135b1511f58ef2c26318160e038293b8b273320a 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc
@@ -93,4 +93,9 @@ bool AutofillDialogViewTesterViews::IsShowingOverlay() const {
return view_->overlay_view_->visible();
}
+bool AutofillDialogViewTesterViews::IsShowingSection(DialogSection section)
+ const {
+ return view_->GroupForSection(section)->container->visible();
+}
+
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698