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

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

Issue 2768133002: [Web Payments] Refactor sheet display to allow updating view content (Closed)
Patch Set: Add comments. Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
diff --git a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
index 281066440d4c196e5c19f8e2eb6ab691e19e5ba9..c3f5b6caef24e2ec4e2f6d73c8aca23ee659a593 100644
--- a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
+++ b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
@@ -32,7 +32,6 @@ class CreditCardEditorViewController : public EditorViewController {
// EditorViewController:
std::unique_ptr<views::View> CreateHeaderView() override;
- int GetViewHeaderTitleId() const override;
std::vector<EditorField> GetFieldDefinitions() override;
bool ValidateModelAndSave() override;
std::unique_ptr<ValidationDelegate> CreateValidationDelegate(
@@ -40,6 +39,10 @@ class CreditCardEditorViewController : public EditorViewController {
std::unique_ptr<ui::ComboboxModel> GetComboboxModelForType(
const autofill::ServerFieldType& type) override;
+ protected:
+ // PaymentRequestSheetController:
+ base::string16 GetSheetTitle() override;
+
private:
class CreditCardValidationDelegate : public ValidationDelegate {
public:
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698