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

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

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.h
diff --git a/chrome/browser/ui/views/payments/editor_view_controller.h b/chrome/browser/ui/views/payments/editor_view_controller.h
index c5851c872d1e58dc65c66105dcf3408cde4694d6..09ab46d977ce685d3206a70d62bd011e5b1c4b57 100644
--- a/chrome/browser/ui/views/payments/editor_view_controller.h
+++ b/chrome/browser/ui/views/payments/editor_view_controller.h
@@ -18,6 +18,7 @@
#include "ui/views/controls/button/vector_icon_button_delegate.h"
#include "ui/views/controls/combobox/combobox_listener.h"
#include "ui/views/controls/textfield/textfield_controller.h"
+#include "ui/views/view.h"
namespace ui {
class ComboboxModel;
@@ -82,6 +83,7 @@ class EditorViewController : public PaymentRequestSheetController,
// PaymentRequestSheetController:
std::unique_ptr<views::View> CreateView() override;
+ virtual std::unique_ptr<views::View> CreateHeaderView() = 0;
// Returns the field definitions used to build the UI.
virtual std::vector<EditorField> GetFieldDefinitions() = 0;
// Validates the data entered and attempts to save; returns true on success.

Powered by Google App Engine
This is Rietveld 408576698