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 27 matching lines...) Expand all Loading... |
38 SaveCardBubbleViews(views::View* anchor_view, | 38 SaveCardBubbleViews(views::View* anchor_view, |
39 content::WebContents* web_contents, | 39 content::WebContents* web_contents, |
40 SaveCardBubbleController* controller); | 40 SaveCardBubbleController* controller); |
41 | 41 |
42 void Show(DisplayReason reason); | 42 void Show(DisplayReason reason); |
43 | 43 |
44 // SaveCardBubbleView | 44 // SaveCardBubbleView |
45 void Hide() override; | 45 void Hide() override; |
46 | 46 |
47 // views::BubbleDelegateView | 47 // views::BubbleDelegateView |
48 scoped_ptr<views::View> CreateFootnoteView() override; | 48 views::View* CreateFootnoteView() override; |
49 | 49 |
50 // views::View | 50 // views::View |
51 gfx::Size GetPreferredSize() const override; | 51 gfx::Size GetPreferredSize() const override; |
52 | 52 |
53 // views::WidgetDelegate | 53 // views::WidgetDelegate |
54 views::View* GetInitiallyFocusedView() override; | 54 views::View* GetInitiallyFocusedView() override; |
55 base::string16 GetWindowTitle() const override; | 55 base::string16 GetWindowTitle() const override; |
56 void WindowClosing() override; | 56 void WindowClosing() override; |
57 | 57 |
58 // views::ButtonListener | 58 // views::ButtonListener |
(...skipping 23 matching lines...) Expand all Loading... |
82 views::LabelButton* cancel_button_; | 82 views::LabelButton* cancel_button_; |
83 | 83 |
84 views::Link* learn_more_link_; | 84 views::Link* learn_more_link_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews); | 86 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace autofill | 89 } // namespace autofill |
90 | 90 |
91 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ | 91 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ |
OLD | NEW |