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 29 matching lines...) Expand all Loading... |
40 virtual void UpdatesFinished() OVERRIDE; | 40 virtual void UpdatesFinished() OVERRIDE; |
41 virtual void UpdateAccountChooser() OVERRIDE; | 41 virtual void UpdateAccountChooser() OVERRIDE; |
42 virtual void UpdateButtonStrip() OVERRIDE; | 42 virtual void UpdateButtonStrip() OVERRIDE; |
43 virtual void UpdateOverlay() OVERRIDE; | 43 virtual void UpdateOverlay() OVERRIDE; |
44 virtual void UpdateDetailArea() OVERRIDE; | 44 virtual void UpdateDetailArea() OVERRIDE; |
45 virtual void UpdateForErrors() OVERRIDE; | 45 virtual void UpdateForErrors() OVERRIDE; |
46 virtual void UpdateNotificationArea() OVERRIDE; | 46 virtual void UpdateNotificationArea() OVERRIDE; |
47 virtual void UpdateSection(DialogSection section) OVERRIDE; | 47 virtual void UpdateSection(DialogSection section) OVERRIDE; |
48 virtual void UpdateErrorBubble() OVERRIDE; | 48 virtual void UpdateErrorBubble() OVERRIDE; |
49 virtual void FillSection(DialogSection section, | 49 virtual void FillSection(DialogSection section, |
50 const DetailInput& originating_input) OVERRIDE; | 50 ServerFieldType originating_type) OVERRIDE; |
51 virtual void GetUserInput(DialogSection section, | 51 virtual void GetUserInput(DialogSection section, |
52 FieldValueMap* output) OVERRIDE; | 52 FieldValueMap* output) OVERRIDE; |
53 virtual base::string16 GetCvc() OVERRIDE; | 53 virtual base::string16 GetCvc() OVERRIDE; |
54 virtual bool HitTestInput(const DetailInput& input, | 54 virtual bool HitTestInput(ServerFieldType type, |
55 const gfx::Point& screen_point) OVERRIDE; | 55 const gfx::Point& screen_point) OVERRIDE; |
56 virtual bool SaveDetailsLocally() OVERRIDE; | 56 virtual bool SaveDetailsLocally() OVERRIDE; |
57 virtual const content::NavigationController* ShowSignIn() OVERRIDE; | 57 virtual const content::NavigationController* ShowSignIn() OVERRIDE; |
58 virtual void HideSignIn() OVERRIDE; | 58 virtual void HideSignIn() OVERRIDE; |
59 virtual void ModelChanged() OVERRIDE; | 59 virtual void ModelChanged() OVERRIDE; |
60 virtual TestableAutofillDialogView* GetTestableView() OVERRIDE; | 60 virtual TestableAutofillDialogView* GetTestableView() OVERRIDE; |
61 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; | 61 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; |
62 | 62 |
63 // TestableAutofillDialogView implementation: | 63 // TestableAutofillDialogView implementation: |
64 // TODO(groby): Create a separate class to implement the testable interface: | 64 // TODO(groby): Create a separate class to implement the testable interface: |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 // WeakPtrFactory for deferred close. | 96 // WeakPtrFactory for deferred close. |
97 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; | 97 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; |
98 | 98 |
99 // The delegate |this| queries for logic and state. | 99 // The delegate |this| queries for logic and state. |
100 AutofillDialogViewDelegate* delegate_; | 100 AutofillDialogViewDelegate* delegate_; |
101 }; | 101 }; |
102 | 102 |
103 } // autofill | 103 } // autofill |
104 | 104 |
105 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ | 105 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ |
OLD | NEW |