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

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: Initial 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..79d5f2ea955690ff1f52bc7aec4d0b4ad6577f58 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 views::View* CreateHeaderView() = 0;
please use gerrit instead 2017/02/16 22:16:10 unique_ptr
Mathieu 2017/02/17 15:06:47 Done.
// 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