| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 // views::View | 59 // views::View |
| 60 gfx::Size CalculatePreferredSize() const override; | 60 gfx::Size CalculatePreferredSize() 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; | |
| 69 bool IsDialogButtonEnabled(ui::DialogButton button) const override; | 68 bool IsDialogButtonEnabled(ui::DialogButton button) const override; |
| 70 View* GetInitiallyFocusedView() override; | 69 View* GetInitiallyFocusedView() override; |
| 71 bool Cancel() override; | 70 bool Cancel() override; |
| 72 bool Accept() override; | 71 bool Accept() override; |
| 73 | 72 |
| 74 // views::TextfieldController | 73 // views::TextfieldController |
| 75 void ContentsChanged(views::Textfield* sender, | 74 void ContentsChanged(views::Textfield* sender, |
| 76 const base::string16& new_contents) override; | 75 const base::string16& new_contents) override; |
| 77 | 76 |
| 78 // views::ComboboxListener | 77 // views::ComboboxListener |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 gfx::SlideAnimation overlay_animation_; | 159 gfx::SlideAnimation overlay_animation_; |
| 161 | 160 |
| 162 base::WeakPtrFactory<CardUnmaskPromptViews> weak_ptr_factory_; | 161 base::WeakPtrFactory<CardUnmaskPromptViews> weak_ptr_factory_; |
| 163 | 162 |
| 164 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViews); | 163 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViews); |
| 165 }; | 164 }; |
| 166 | 165 |
| 167 } // namespace autofill | 166 } // namespace autofill |
| 168 | 167 |
| 169 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ | 168 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ |
| OLD | NEW |