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

Unified Diff: chrome/browser/ui/views/autofill/view_util.h

Issue 2789843004: [Payments] Upload card UI now has a CVC prompt (Closed)
Patch Set: Addressing code review comments Created 3 years, 8 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/autofill/view_util.h
diff --git a/chrome/browser/ui/views/autofill/view_util.h b/chrome/browser/ui/views/autofill/view_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..0e9bc8fbba7c84f812576d50f7dfaa15898ba7cd
--- /dev/null
+++ b/chrome/browser/ui/views/autofill/view_util.h
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_VIEW_UTIL_H_
+#define CHROME_BROWSER_UI_VIEWS_AUTOFILL_VIEW_UTIL_H_
+
+#include "ui/views/controls/textfield/textfield.h"
+
+namespace autofill {
+
+class ViewUtil {
+ public:
+ // Creates and returns a small Textfield intended to be used for CVC entry.
+ static views::Textfield* CreateCvcTextfield();
Evan Stade 2017/04/13 02:21:31 what were the linker errors? You shouldn't need th
Jared Saul 2017/04/13 17:04:40 Sorry, I misspoke there--it was a compiler error:
+
+};
+
+} // namespace autofill
+
+#endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_VIEW_UTIL_H_
« no previous file with comments | « chrome/browser/ui/views/autofill/save_card_bubble_views.cc ('k') | chrome/browser/ui/views/autofill/view_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698