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

Side by Side Diff: chrome/browser/ui/views/payments/validating_combobox.h

Issue 2895473005: [Payments] Have expiration date be on the same line in CC editor (Closed)
Patch Set: Initial Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_VALIDATING_COMBOBOX_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_VALIDATING_COMBOBOX_H_
6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_VALIDATING_COMBOBOX_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_VALIDATING_COMBOBOX_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 22 matching lines...) Expand all
33 33
34 // ui::ComboboxModelObserver: 34 // ui::ComboboxModelObserver:
35 void OnComboboxModelChanged(ui::ComboboxModel* model) override; 35 void OnComboboxModelChanged(ui::ComboboxModel* model) override;
36 36
37 private: 37 private:
38 // Will call to the ValidationDelegate to validate the contents of the 38 // Will call to the ValidationDelegate to validate the contents of the
39 // combobox. 39 // combobox.
40 void Validate(); 40 void Validate();
41 41
42 std::unique_ptr<ValidationDelegate> delegate_; 42 std::unique_ptr<ValidationDelegate> delegate_;
43 bool was_blurred_ = false;
44 bool being_removed_ = false; 43 bool being_removed_ = false;
45 44
46 DISALLOW_COPY_AND_ASSIGN(ValidatingCombobox); 45 DISALLOW_COPY_AND_ASSIGN(ValidatingCombobox);
47 }; 46 };
48 47
49 } // namespace payments 48 } // namespace payments
50 49
51 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_VALIDATING_COMBOBOX_H_ 50 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_VALIDATING_COMBOBOX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698