OLD | NEW |
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_controller.h" | 9 #include "chrome/browser/ui/autofill/save_card_bubble_controller.h" |
10 #include "chrome/browser/ui/autofill/save_card_bubble_view.h" | 10 #include "chrome/browser/ui/autofill/save_card_bubble_view.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // views::BubbleDialogDelegateView | 44 // views::BubbleDialogDelegateView |
45 views::View* CreateExtraView() override; | 45 views::View* CreateExtraView() override; |
46 views::View* CreateFootnoteView() override; | 46 views::View* CreateFootnoteView() override; |
47 bool Accept() override; | 47 bool Accept() override; |
48 bool Cancel() override; | 48 bool Cancel() override; |
49 bool Close() override; | 49 bool Close() override; |
50 int GetDialogButtons() const override; | 50 int GetDialogButtons() const override; |
51 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; | 51 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; |
52 bool ShouldDefaultButtonBeBlue() const override; | 52 bool ShouldDefaultButtonBeBlue() const override; |
53 | 53 |
54 // views::View | 54 // views::DialogDelegateView |
55 gfx::Size GetPreferredSize() const override; | 55 gfx::Size GetUnsnappedPreferredSize() const override; |
56 | 56 |
57 // views::WidgetDelegate | 57 // views::WidgetDelegate |
58 base::string16 GetWindowTitle() const override; | 58 base::string16 GetWindowTitle() const override; |
59 void WindowClosing() override; | 59 void WindowClosing() override; |
60 | 60 |
61 // views::LinkListener | 61 // views::LinkListener |
62 void LinkClicked(views::Link* source, int event_flags) override; | 62 void LinkClicked(views::Link* source, int event_flags) override; |
63 | 63 |
64 // views::StyledLabelListener | 64 // views::StyledLabelListener |
65 void StyledLabelLinkClicked(views::StyledLabel* label, | 65 void StyledLabelLinkClicked(views::StyledLabel* label, |
(...skipping 11 matching lines...) Expand all Loading... |
77 SaveCardBubbleController* controller_; // Weak reference. | 77 SaveCardBubbleController* controller_; // Weak reference. |
78 | 78 |
79 views::Link* learn_more_link_; | 79 views::Link* learn_more_link_; |
80 | 80 |
81 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews); | 81 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews); |
82 }; | 82 }; |
83 | 83 |
84 } // namespace autofill | 84 } // namespace autofill |
85 | 85 |
86 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ | 86 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ |
OLD | NEW |