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

Side by Side Diff: chrome/browser/ui/views/autofill/save_card_bubble_views.h

Issue 2883273005: Use ViewStack to convert card upload request CVC experiment to 2-step flow (Closed)
Patch Set: Merge forward 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/save_card_bubble_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/autofill/save_card_bubble_view.h" 9 #include "chrome/browser/ui/autofill/save_card_bubble_view.h"
10 #include "chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view .h" 10 #include "chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view .h"
11 #include "chrome/browser/ui/views/payments/view_stack.h"
11 #include "components/autofill/core/browser/ui/save_card_bubble_controller.h" 12 #include "components/autofill/core/browser/ui/save_card_bubble_controller.h"
12 #include "ui/views/controls/link_listener.h" 13 #include "ui/views/controls/link_listener.h"
13 #include "ui/views/controls/styled_label_listener.h" 14 #include "ui/views/controls/styled_label_listener.h"
14 #include "ui/views/controls/textfield/textfield_controller.h" 15 #include "ui/views/controls/textfield/textfield_controller.h"
15 16
16 namespace content { 17 namespace content {
17 class WebContents; 18 class WebContents;
18 } 19 }
19 20
20 namespace views { 21 namespace views {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ~SaveCardBubbleViews() override; 79 ~SaveCardBubbleViews() override;
79 80
80 std::unique_ptr<views::View> CreateMainContentView(); 81 std::unique_ptr<views::View> CreateMainContentView();
81 std::unique_ptr<views::View> CreateRequestCvcView(); 82 std::unique_ptr<views::View> CreateRequestCvcView();
82 83
83 // views::BubbleDialogDelegateView 84 // views::BubbleDialogDelegateView
84 void Init() override; 85 void Init() override;
85 86
86 SaveCardBubbleController* controller_; // Weak reference. 87 SaveCardBubbleController* controller_; // Weak reference.
87 88
88 views::Textfield* cvc_textfield_; 89 ViewStack* view_stack_ = nullptr;
89 90
90 views::Link* learn_more_link_; 91 views::Textfield* cvc_textfield_ = nullptr;
92
93 views::Link* learn_more_link_ = nullptr;
91 94
92 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews); 95 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews);
93 }; 96 };
94 97
95 } // namespace autofill 98 } // namespace autofill
96 99
97 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ 100 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/save_card_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698