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

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

Issue 2905243003: Cleanup BookmarkBubbleView, remove LocationBarBubbleDelegateView::GetDialogButtons() (Closed)
Patch Set: Rebase for r475249 Created 3 years, 6 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"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // SaveCardBubbleView 45 // SaveCardBubbleView
46 void Hide() override; 46 void Hide() override;
47 47
48 // views::BubbleDialogDelegateView 48 // views::BubbleDialogDelegateView
49 views::View* CreateExtraView() override; 49 views::View* CreateExtraView() override;
50 views::View* CreateFootnoteView() override; 50 views::View* CreateFootnoteView() override;
51 bool Accept() override; 51 bool Accept() override;
52 bool Cancel() override; 52 bool Cancel() override;
53 bool Close() override; 53 bool Close() override;
54 int GetDialogButtons() const override;
55 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; 54 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
56 bool IsDialogButtonEnabled(ui::DialogButton button) const override; 55 bool IsDialogButtonEnabled(ui::DialogButton button) const override;
57 bool ShouldDefaultButtonBeBlue() const override; 56 bool ShouldDefaultButtonBeBlue() const override;
58 57
59 // views::View 58 // views::View
60 gfx::Size CalculatePreferredSize() const override; 59 gfx::Size CalculatePreferredSize() const override;
61 60
62 // views::WidgetDelegate 61 // views::WidgetDelegate
63 base::string16 GetWindowTitle() const override; 62 base::string16 GetWindowTitle() const override;
64 void WindowClosing() override; 63 void WindowClosing() override;
(...skipping 26 matching lines...) Expand all
91 views::Textfield* cvc_textfield_ = nullptr; 90 views::Textfield* cvc_textfield_ = nullptr;
92 91
93 views::Link* learn_more_link_ = nullptr; 92 views::Link* learn_more_link_ = nullptr;
94 93
95 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews); 94 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews);
96 }; 95 };
97 96
98 } // namespace autofill 97 } // namespace autofill
99 98
100 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ 99 #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