| 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_CARD_UNMASK_PROMPT_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // CardUnmaskPromptView | 48 // CardUnmaskPromptView |
| 49 void Show() override; | 49 void Show() override; |
| 50 void ControllerGone() override; | 50 void ControllerGone() override; |
| 51 void DisableAndWaitForVerification() override; | 51 void DisableAndWaitForVerification() override; |
| 52 void GotVerificationResult(const base::string16& error_message, | 52 void GotVerificationResult(const base::string16& error_message, |
| 53 bool allow_retry) override; | 53 bool allow_retry) override; |
| 54 | 54 |
| 55 // views::DialogDelegateView | 55 // views::DialogDelegateView |
| 56 View* GetContentsView() override; | 56 View* GetContentsView() override; |
| 57 View* CreateFootnoteView() override; | 57 View* CreateFootnoteView() override; |
| 58 gfx::Size GetUnsnappedPreferredSize() const override; |
| 58 | 59 |
| 59 // views::View | 60 // views::View |
| 60 gfx::Size GetPreferredSize() const override; | |
| 61 void Layout() override; | 61 void Layout() override; |
| 62 int GetHeightForWidth(int width) const override; | 62 int GetHeightForWidth(int width) const override; |
| 63 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; | 63 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; |
| 64 ui::ModalType GetModalType() const override; | 64 ui::ModalType GetModalType() const override; |
| 65 base::string16 GetWindowTitle() const override; | 65 base::string16 GetWindowTitle() const override; |
| 66 void DeleteDelegate() override; | 66 void DeleteDelegate() override; |
| 67 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; | 67 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; |
| 68 bool ShouldDefaultButtonBeBlue() const override; | 68 bool ShouldDefaultButtonBeBlue() const override; |
| 69 bool IsDialogButtonEnabled(ui::DialogButton button) const override; | 69 bool IsDialogButtonEnabled(ui::DialogButton button) const override; |
| 70 View* GetInitiallyFocusedView() override; | 70 View* GetInitiallyFocusedView() override; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 gfx::SlideAnimation overlay_animation_; | 160 gfx::SlideAnimation overlay_animation_; |
| 161 | 161 |
| 162 base::WeakPtrFactory<CardUnmaskPromptViews> weak_ptr_factory_; | 162 base::WeakPtrFactory<CardUnmaskPromptViews> weak_ptr_factory_; |
| 163 | 163 |
| 164 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViews); | 164 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViews); |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 } // namespace autofill | 167 } // namespace autofill |
| 168 | 168 |
| 169 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ | 169 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ |
| OLD | NEW |