OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AUTOFILL_DIALOG_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 virtual void UpdateForErrors() override; | 85 virtual void UpdateForErrors() override; |
86 virtual void UpdateNotificationArea() override; | 86 virtual void UpdateNotificationArea() override; |
87 virtual void UpdateSection(DialogSection section) override; | 87 virtual void UpdateSection(DialogSection section) override; |
88 virtual void UpdateErrorBubble() override; | 88 virtual void UpdateErrorBubble() override; |
89 virtual void FillSection(DialogSection section, | 89 virtual void FillSection(DialogSection section, |
90 ServerFieldType originating_type) override; | 90 ServerFieldType originating_type) override; |
91 virtual void GetUserInput(DialogSection section, | 91 virtual void GetUserInput(DialogSection section, |
92 FieldValueMap* output) override; | 92 FieldValueMap* output) override; |
93 virtual base::string16 GetCvc() override; | 93 virtual base::string16 GetCvc() override; |
94 virtual bool SaveDetailsLocally() override; | 94 virtual bool SaveDetailsLocally() override; |
95 virtual const content::NavigationController* ShowSignIn() override; | 95 virtual const content::NavigationController* ShowSignIn( |
| 96 const GURL& url) override; |
96 virtual void HideSignIn() override; | 97 virtual void HideSignIn() override; |
97 virtual void ModelChanged() override; | 98 virtual void ModelChanged() override; |
98 virtual void OnSignInResize(const gfx::Size& pref_size) override; | 99 virtual void OnSignInResize(const gfx::Size& pref_size) override; |
99 virtual void ValidateSection(DialogSection section) override; | 100 virtual void ValidateSection(DialogSection section) override; |
100 | 101 |
101 // views::View implementation. | 102 // views::View implementation. |
102 virtual gfx::Size GetPreferredSize() const override; | 103 virtual gfx::Size GetPreferredSize() const override; |
103 virtual gfx::Size GetMinimumSize() const override; | 104 virtual gfx::Size GetMinimumSize() const override; |
104 virtual void Layout() override; | 105 virtual void Layout() override; |
105 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) override; | 106 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) override; |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 | 683 |
683 // Used to tell the delegate when focus moves to hide the Autofill popup. | 684 // Used to tell the delegate when focus moves to hide the Autofill popup. |
684 scoped_ptr<ui::EventHandler> event_handler_; | 685 scoped_ptr<ui::EventHandler> event_handler_; |
685 | 686 |
686 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 687 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
687 }; | 688 }; |
688 | 689 |
689 } // namespace autofill | 690 } // namespace autofill |
690 | 691 |
691 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 692 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
OLD | NEW |