| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 const DetailInput& originating_input) OVERRIDE; |
| 51 virtual void GetUserInput(DialogSection section, | 51 virtual void GetUserInput(DialogSection section, |
| 52 DetailOutputMap* output) OVERRIDE; | 52 FieldValueMap* output) OVERRIDE; |
| 53 virtual string16 GetCvc() OVERRIDE; | 53 virtual string16 GetCvc() OVERRIDE; |
| 54 virtual bool HitTestInput(const DetailInput& input, | 54 virtual bool HitTestInput(const DetailInput& input, |
| 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 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 // WeakPtrFactory for deferred close. | 95 // WeakPtrFactory for deferred close. |
| 96 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; | 96 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; |
| 97 | 97 |
| 98 // The delegate |this| queries for logic and state. | 98 // The delegate |this| queries for logic and state. |
| 99 AutofillDialogViewDelegate* delegate_; | 99 AutofillDialogViewDelegate* delegate_; |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // autofill | 102 } // autofill |
| 103 | 103 |
| 104 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ | 104 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ |
| OLD | NEW |