| 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_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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; | 54 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; |
| 55 bool IsDialogButtonEnabled(ui::DialogButton button) const override; | 55 bool IsDialogButtonEnabled(ui::DialogButton button) const override; |
| 56 bool ShouldDefaultButtonBeBlue() const override; | |
| 57 | 56 |
| 58 // views::View | 57 // views::View |
| 59 gfx::Size CalculatePreferredSize() const override; | 58 gfx::Size CalculatePreferredSize() const override; |
| 60 | 59 |
| 61 // views::WidgetDelegate | 60 // views::WidgetDelegate |
| 62 base::string16 GetWindowTitle() const override; | 61 base::string16 GetWindowTitle() const override; |
| 63 void WindowClosing() override; | 62 void WindowClosing() override; |
| 64 | 63 |
| 65 // views::LinkListener | 64 // views::LinkListener |
| 66 void LinkClicked(views::Link* source, int event_flags) override; | 65 void LinkClicked(views::Link* source, int event_flags) override; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 90 views::Textfield* cvc_textfield_ = nullptr; | 89 views::Textfield* cvc_textfield_ = nullptr; |
| 91 | 90 |
| 92 views::Link* learn_more_link_ = nullptr; | 91 views::Link* learn_more_link_ = nullptr; |
| 93 | 92 |
| 94 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews); | 93 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews); |
| 95 }; | 94 }; |
| 96 | 95 |
| 97 } // namespace autofill | 96 } // namespace autofill |
| 98 | 97 |
| 99 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ | 98 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ |
| OLD | NEW |