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

Unified Diff: chrome/browser/ui/views/payments/editor_view_controller.cc

Issue 2698353002: [Payments] Add the "Cards accepted" row at the top of CC editor. (Closed)
Patch Set: private Created 3 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/payments/editor_view_controller.cc
diff --git a/chrome/browser/ui/views/payments/editor_view_controller.cc b/chrome/browser/ui/views/payments/editor_view_controller.cc
index 239a04fe012e3b4707ff3f0435db90b5a29b1363..38eeee77114947d8f76552a3c1edcbbfccacf49a 100644
--- a/chrome/browser/ui/views/payments/editor_view_controller.cc
+++ b/chrome/browser/ui/views/payments/editor_view_controller.cc
@@ -61,6 +61,8 @@ std::unique_ptr<views::View> EditorViewController::CreateView() {
views::BoxLayout::CROSS_AXIS_ALIGNMENT_STRETCH);
content_view->SetLayoutManager(layout);
+ content_view->AddChildView(CreateHeaderView().release());
+
// Create an input label/textfield for each field definition.
std::vector<EditorField> fields = GetFieldDefinitions();
for (const auto& field : fields) {

Powered by Google App Engine
This is Rietveld 408576698