OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ |
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ |
7 | 7 |
8 #include "base/mac/scoped_nsobject.h" | 8 #include "base/mac/scoped_nsobject.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 virtual void UpdateForErrors() override; | 44 virtual void UpdateForErrors() override; |
45 virtual void UpdateNotificationArea() override; | 45 virtual void UpdateNotificationArea() override; |
46 virtual void UpdateSection(DialogSection section) override; | 46 virtual void UpdateSection(DialogSection section) override; |
47 virtual void UpdateErrorBubble() override; | 47 virtual void UpdateErrorBubble() override; |
48 virtual void FillSection(DialogSection section, | 48 virtual void FillSection(DialogSection section, |
49 ServerFieldType originating_type) override; | 49 ServerFieldType originating_type) override; |
50 virtual void GetUserInput(DialogSection section, | 50 virtual void GetUserInput(DialogSection section, |
51 FieldValueMap* output) override; | 51 FieldValueMap* output) override; |
52 virtual base::string16 GetCvc() override; | 52 virtual base::string16 GetCvc() override; |
53 virtual bool SaveDetailsLocally() override; | 53 virtual bool SaveDetailsLocally() override; |
54 virtual const content::NavigationController* ShowSignIn() override; | 54 virtual const content::NavigationController* ShowSignIn( |
| 55 const GURL& url) override; |
55 virtual void HideSignIn() override; | 56 virtual void HideSignIn() override; |
56 virtual void ModelChanged() override; | 57 virtual void ModelChanged() override; |
57 virtual void OnSignInResize(const gfx::Size& pref_size) override; | 58 virtual void OnSignInResize(const gfx::Size& pref_size) override; |
58 virtual void ValidateSection(DialogSection section) override; | 59 virtual void ValidateSection(DialogSection section) override; |
59 | 60 |
60 // ConstrainedWindowMacDelegate implementation: | 61 // ConstrainedWindowMacDelegate implementation: |
61 virtual void OnConstrainedWindowClosed( | 62 virtual void OnConstrainedWindowClosed( |
62 ConstrainedWindowMac* window) override; | 63 ConstrainedWindowMac* window) override; |
63 | 64 |
64 AutofillDialogViewDelegate* delegate() { return delegate_; } | 65 AutofillDialogViewDelegate* delegate() { return delegate_; } |
(...skipping 14 matching lines...) Expand all Loading... |
79 AutofillDialogViewDelegate* delegate_; | 80 AutofillDialogViewDelegate* delegate_; |
80 | 81 |
81 // WeakPtrFactory for deferred close. | 82 // WeakPtrFactory for deferred close. |
82 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; | 83 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; |
83 | 84 |
84 }; | 85 }; |
85 | 86 |
86 } // autofill | 87 } // autofill |
87 | 88 |
88 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ | 89 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ |
OLD | NEW |