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

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: addressed comments 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 25 matching lines...) Expand all
36 36
37 // Identifies whether the current content if valid or not. 37 // Identifies whether the current content if valid or not.
38 bool IsValid(); 38 bool IsValid();
39 39
40 private: 40 private:
41 // Will call to the ValidationDelegate to validate the contents of the 41 // Will call to the ValidationDelegate to validate the contents of the
42 // combobox. 42 // combobox.
43 void Validate(); 43 void Validate();
44 44
45 std::unique_ptr<ValidationDelegate> delegate_; 45 std::unique_ptr<ValidationDelegate> delegate_;
46 bool was_blurred_ = false;
47 bool being_removed_ = false; 46 bool being_removed_ = false;
48 47
49 DISALLOW_COPY_AND_ASSIGN(ValidatingCombobox); 48 DISALLOW_COPY_AND_ASSIGN(ValidatingCombobox);
50 }; 49 };
51 50
52 } // namespace payments 51 } // namespace payments
53 52
54 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_VALIDATING_COMBOBOX_H_ 53 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_VALIDATING_COMBOBOX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698